Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.001233/0.001233, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001621/0.001621, allocations: 216 kB / 22.25 MB, free: 3.594 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 1.012/1.012, allocations: 230.6 MB / 256 MB, free: 9.625 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.7981/0.7981, allocations: 203.5 MB / 0.5039 GB, free: 10.71 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.IntegratorWithReset,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",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.001036/0.001036, allocations: 76.2 kB / 0.7178 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5617/0.5627, allocations: 102 MB / 0.8174 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.00193/0.5647, allocations: 0.8468 MB / 0.8182 GB, free: 0.7188 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.5659, allocations: 1.202 MB / 0.8194 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.407e-05/0.566, allocations: 0 / 0.8194 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.235e-05/0.566, allocations: 14.28 kB / 0.8194 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.205e-05/0.5661, allocations: 20.78 kB / 0.8195 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005208/0.5666, allocations: 154.1 kB / 0.8196 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002185/0.5669, allocations: 166.2 kB / 0.8198 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.567, allocations: 33.09 kB / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.5671, allocations: 67.59 kB / 0.8199 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.5672, allocations: 57.61 kB / 0.8199 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.5672, allocations: 19.47 kB / 0.8199 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.626e-05/0.5673, allocations: 28.06 kB / 0.82 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.406e-05/0.5673, allocations: 25.09 kB / 0.82 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.259e-05/0.5674, allocations: 58.7 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002645/0.5677, allocations: 163.8 kB / 0.8202 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.5677, allocations: 4 kB / 0.8202 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.705e-06/0.5677, allocations: 6.312 kB / 0.8202 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.645e-06/0.5677, allocations: 0 / 0.8202 GB, free: 15.48 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006353/0.5683, allocations: 417 kB / 0.8206 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.5684, allocations: 10.28 kB / 0.8206 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.296e-05/0.5684, allocations: 43.81 kB / 0.8207 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.5684, allocations: 18.09 kB / 0.8207 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007063/0.5692, allocations: 181.3 kB / 0.8208 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.5692, allocations: 14.94 kB / 0.8209 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.053e-05/0.5692, allocations: 14.28 kB / 0.8209 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.5694, allocations: 90.62 kB / 0.821 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.5694, allocations: 0 / 0.821 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.5694, allocations: 12.05 kB / 0.821 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.5694, allocations: 3.984 kB / 0.821 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.5695, allocations: 47.19 kB / 0.821 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000605/0.5701, allocations: 333.5 kB / 0.8213 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.5702, allocations: 35.67 kB / 0.8214 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.451e-05/0.5703, allocations: 23.52 kB / 0.8214 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.5703, allocations: 7.078 kB / 0.8214 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003541/0.5707, allocations: 104.6 kB / 0.8215 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.044e-06/0.5707, allocations: 3.938 kB / 0.8215 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003927/0.5711, allocations: 132 kB / 0.8216 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/0.5711, allocations: 60.88 kB / 0.8217 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.5713, allocations: 142.7 kB / 0.8218 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.5713, allocations: 37.2 kB / 0.8219 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.716e-05/0.5714, allocations: 109 kB / 0.822 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.5714, allocations: 30.2 kB / 0.822 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.588e-05/0.5715, allocations: 46.14 kB / 0.822 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.458e-05/0.5716, allocations: 320.7 kB / 0.8223 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.5717, allocations: 81.67 kB / 0.8224 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.5719, allocations: 165.3 kB / 0.8226 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.5721, allocations: 201.2 kB / 0.8228 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5721, allocations: 5.031 kB / 0.8228 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003224/0.5724, allocations: 278.5 kB / 0.823 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.151e-05/0.5724, allocations: 41.62 kB / 0.8231 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.5725, allocations: 3.906 kB / 0.8231 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.5725, allocations: 8.25 kB / 0.8231 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.508e-05/0.5725, allocations: 30.73 kB / 0.8231 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.5726, allocations: 5.625 kB / 0.8231 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.5727, allocations: 42.02 kB / 0.8232 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.5727, allocations: 12.12 kB / 0.8232 GB, free: 13.09 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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 9.946e-05/0.5728, allocations: 127 kB / 0.8233 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.5728, allocations: 8.547 kB / 0.8233 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.989e-05/0.5728, allocations: 18.03 kB / 0.8233 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.5729, allocations: 5 kB / 0.8233 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.5729, allocations: 1.438 kB / 0.8233 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.5729, allocations: 0 / 0.8233 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004262/0.5733, allocations: 360 kB / 0.8237 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.5733, allocations: 0 / 0.8237 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.041e-05/0.5734, allocations: 16.62 kB / 0.8237 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.5734, allocations: 1.125 kB / 0.8237 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.5734, allocations: 5.844 kB / 0.8237 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.5734, allocations: 1.031 kB / 0.8237 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.5734, allocations: 0.5156 kB / 0.8237 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.5737, allocations: 242.7 kB / 0.8239 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.486e-05/0.5737, allocations: 15.7 kB / 0.8239 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.5737, allocations: 6.375 kB / 0.8239 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.776e-05/0.5737, allocations: 10.77 kB / 0.824 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/0.5738, allocations: 11.7 kB / 0.824 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.5738, allocations: 12.2 kB / 0.824 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.875e-05/0.5739, allocations: 104.2 kB / 0.8241 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5739, allocations: 1.5 kB / 0.8241 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002172/0.5741, allocations: 31.53 kB / 0.8241 GB, free: 12.36 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005472/0.5746, allocations: 0.7771 MB / 0.8249 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003112/0.5749, allocations: 201 kB / 0.8251 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5749, allocations: 0 / 0.8251 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.632e-05/0.575, allocations: 37.86 kB / 0.8251 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.5752, allocations: 16.44 kB / 0.8251 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.5773, allocations: 2.095 MB / 0.8272 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.349e-05/0.5774, allocations: 94.34 kB / 0.8272 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.359e-05/0.5775, allocations: 19.92 kB / 0.8273 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.049e-05/0.5776, allocations: 36.38 kB / 0.8273 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of SimCode: time 1.493e-06/0.5776, allocations: 480 / 0.8273 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.6, allocations: 3.828 MB / 0.831 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.007/7.607, allocations: 5.875 kB / 0.831 GB, free: 8.613 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.678258479107171] Failed to read output from testmodel.py, exit status != 0: 7.686894016806036 7.69638677 7.126514867 Calling exit ...