Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008442/0.0008442, allocations: 97.5 kB / 18.95 MB, free: 1.312 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009865/0.0009865, allocations: 214.3 kB / 22.25 MB, free: 3.676 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9983/0.9983, allocations: 230.6 MB / 256 MB, free: 9.574 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8119/0.8119, allocations: 203.5 MB / 0.5039 GB, free: 10.7 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Divide,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Divide,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 69.42 kB / 0.7178 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5494/0.551, allocations: 102 MB / 0.8174 GB, free: 1.227 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001708/0.5527, allocations: 0.6793 MB / 0.8181 GB, free: 0.8008 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007823/0.5535, allocations: 0.8319 MB / 0.8189 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.788e-05/0.5535, allocations: 0 / 0.8189 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.938e-05/0.5535, allocations: 4.547 kB / 0.8189 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.456e-05/0.5536, allocations: 12.41 kB / 0.8189 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.444e-05/0.5537, allocations: 12.12 kB / 0.8189 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.123e-05/0.5537, allocations: 39.05 kB / 0.819 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.5539, allocations: 9.609 kB / 0.819 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.369e-05/0.5539, allocations: 17.67 kB / 0.819 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.642e-05/0.554, allocations: 20.59 kB / 0.819 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.554, allocations: 7.625 kB / 0.819 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.334e-06/0.554, allocations: 1.812 kB / 0.819 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.993e-05/0.554, allocations: 10.56 kB / 0.819 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.011e-05/0.5541, allocations: 12.62 kB / 0.819 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.5542, allocations: 47.84 kB / 0.8191 GB, free: 80 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.5542, allocations: 6.641 kB / 0.8191 GB, free: 76 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.514e-06/0.5542, allocations: 0 / 0.8191 GB, free: 76 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.5542, allocations: 0 / 0.8191 GB, free: 76 kB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004806/0.5547, allocations: 285.8 kB / 0.8194 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.5547, allocations: 13.88 kB / 0.8194 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.313e-05/0.5548, allocations: 36.62 kB / 0.8194 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.5548, allocations: 8.266 kB / 0.8194 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.777e-05/0.5549, allocations: 114.8 kB / 0.8195 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.5549, allocations: 3.875 kB / 0.8195 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.5549, allocations: 384 / 0.8195 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.5551, allocations: 68.83 kB / 0.8196 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.5551, allocations: 3.938 kB / 0.8196 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.5551, allocations: 3.062 kB / 0.8196 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.5551, allocations: 7.938 kB / 0.8196 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.5553, allocations: 60.61 kB / 0.8197 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/0.5557, allocations: 232 kB / 0.8199 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.5558, allocations: 58.64 kB / 0.82 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.008e-05/0.5559, allocations: 40.45 kB / 0.82 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.5559, allocations: 0.875 kB / 0.82 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.5559, allocations: 39.5 kB / 0.82 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.934e-06/0.5559, allocations: 3.938 kB / 0.82 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003638/0.5563, allocations: 123.4 kB / 0.8201 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.5563, allocations: 56.06 kB / 0.8202 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.319e-05/0.5564, allocations: 105.9 kB / 0.8203 GB, free: 15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.5564, allocations: 31.08 kB / 0.8203 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.5565, allocations: 86.44 kB / 0.8204 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.5565, allocations: 14.08 kB / 0.8204 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.5565, allocations: 15 kB / 0.8204 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.426e-05/0.5566, allocations: 316.4 kB / 0.8207 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.575e-05/0.5567, allocations: 30.73 kB / 0.8208 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.409e-05/0.5568, allocations: 40.66 kB / 0.8208 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.557, allocations: 70.69 kB / 0.8209 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.557, allocations: 0 / 0.8209 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001882/0.5572, allocations: 98.95 kB / 0.821 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.5572, allocations: 4.516 kB / 0.821 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.5572, allocations: 4 kB / 0.821 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.5572, allocations: 0 / 0.821 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.344e-05/0.5573, allocations: 18.31 kB / 0.821 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.5573, allocations: 0 / 0.821 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.199e-05/0.5573, allocations: 11.28 kB / 0.821 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.5573, allocations: 0 / 0.821 GB, free: 14.46 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.349e-05/0.5574, allocations: 125.9 kB / 0.8211 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.618e-05/0.5574, allocations: 4.469 kB / 0.8211 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/0.5575, allocations: 7.875 kB / 0.8211 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.5575, allocations: 0 / 0.8211 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.5575, allocations: 0.6562 kB / 0.8211 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.5575, allocations: 0 / 0.8211 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.5576, allocations: 146.8 kB / 0.8213 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.5576, allocations: 0.5625 kB / 0.8213 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.834e-05/0.5576, allocations: 14.27 kB / 0.8213 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.5577, allocations: 0 / 0.8213 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.5577, allocations: 6.953 kB / 0.8213 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5577, allocations: 0 / 0.8213 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5577, allocations: 0 / 0.8213 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.5579, allocations: 195 kB / 0.8215 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.026e-05/0.5579, allocations: 6.547 kB / 0.8215 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.5579, allocations: 4.547 kB / 0.8215 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.349e-05/0.558, allocations: 16.08 kB / 0.8215 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.558, allocations: 8.266 kB / 0.8215 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.558, allocations: 0.8125 kB / 0.8215 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.141e-05/0.5581, allocations: 87.44 kB / 0.8216 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5581, allocations: 0 / 0.8216 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001457/0.5582, allocations: 6.406 kB / 0.8216 GB, free: 13.9 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004542/0.5587, allocations: 0.7294 MB / 0.8223 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002306/0.5589, allocations: 74.36 kB / 0.8224 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5589, allocations: 0 / 0.8224 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.075e-05/0.559, allocations: 38.28 kB / 0.8224 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.5593, allocations: 5.828 kB / 0.8224 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004514/0.5597, allocations: 167.7 kB / 0.8226 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.732e-05/0.5598, allocations: 63.05 kB / 0.8227 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.452e-05/0.5598, allocations: 2.359 kB / 0.8227 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.975e-05/0.5599, allocations: 14.02 kB / 0.8227 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of SimCode: time 4.41e-07/0.5599, allocations: 0 / 0.8227 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01926/0.5791, allocations: 2.174 MB / 0.8248 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.914/7.493, allocations: 3.797 kB / 0.8248 GB, free: 12.09 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Divide_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Divide.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.536922295112163] Failed to read output from testmodel.py, exit status != 0: 7.569348130840808 7.588708669 7.031899062 Calling exit ...