Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.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.001118/0.001118, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0009718/0.0009718, allocations: 209.7 kB / 22.24 MB, free: 3.57 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.003/1.003, allocations: 230.6 MB / 256 MB, free: 9.582 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.8145/0.8145, 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.Integers.Validation.Change,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Change",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.001307/0.001307, allocations: 69.25 kB / 0.7178 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6065/0.6078, allocations: 102 MB / 0.8174 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.002869/0.6107, allocations: 1.89 MB / 0.8192 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001605/0.6123, allocations: 1.213 MB / 0.8204 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.786e-05/0.6124, allocations: 3.938 kB / 0.8204 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003642/0.6128, allocations: 100.8 kB / 0.8205 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002915/0.6131, allocations: 139.5 kB / 0.8206 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.6133, allocations: 128.3 kB / 0.8208 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002429/0.6135, allocations: 225.9 kB / 0.821 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.6137, allocations: 35.31 kB / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.6138, allocations: 108.4 kB / 0.8211 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.614, allocations: 100.9 kB / 0.8212 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.614, allocations: 13.03 kB / 0.8212 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.6141, allocations: 60.31 kB / 0.8213 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.133e-05/0.6142, allocations: 67.5 kB / 0.8214 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.61e-05/0.6143, allocations: 71.8 kB / 0.8214 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003414/0.6146, allocations: 279.4 kB / 0.8217 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.6146, allocations: 4 kB / 0.8217 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.665e-06/0.6146, allocations: 0 / 0.8217 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.6146, allocations: 6.359 kB / 0.8217 GB, free: 14.56 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007767/0.6154, allocations: 492.2 kB / 0.8222 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.6154, allocations: 12.56 kB / 0.8222 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.062e-05/0.6155, allocations: 38.36 kB / 0.8222 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.129e-05/0.6155, allocations: 28.61 kB / 0.8222 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.6159, allocations: 238.3 kB / 0.8225 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.6159, allocations: 5.609 kB / 0.8225 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.6159, allocations: 11.94 kB / 0.8225 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.6161, allocations: 117.8 kB / 0.8226 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.6162, allocations: 4 kB / 0.8226 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.6162, allocations: 10.03 kB / 0.8226 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.6162, allocations: 2.25 kB / 0.8226 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.6163, allocations: 81.69 kB / 0.8227 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005688/0.6169, allocations: 401.2 kB / 0.8231 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.6172, allocations: 134.3 kB / 0.8232 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.6173, allocations: 55.75 kB / 0.8233 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.6173, allocations: 1.312 kB / 0.8233 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002294/0.6175, allocations: 127.8 kB / 0.8234 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.6175, allocations: 0 / 0.8234 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0004832/0.618, allocations: 263.3 kB / 0.8236 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.6181, allocations: 59.38 kB / 0.8237 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/0.6184, allocations: 338.5 kB / 0.824 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.6184, allocations: 32.69 kB / 0.824 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.879e-05/0.6185, allocations: 139 kB / 0.8242 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.6185, allocations: 42.77 kB / 0.8242 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.426e-05/0.6186, allocations: 59.11 kB / 0.8243 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.6187, allocations: 334.3 kB / 0.8246 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.6189, allocations: 85.19 kB / 0.8247 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.619, allocations: 135.7 kB / 0.8248 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/0.6193, allocations: 194.9 kB / 0.825 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.6193, allocations: 0 / 0.825 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003781/0.6197, allocations: 289.3 kB / 0.8253 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.6197, allocations: 5.156 kB / 0.8253 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.6197, allocations: 3 kB / 0.8253 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.6197, allocations: 2.594 kB / 0.8253 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.6198, allocations: 45.48 kB / 0.8253 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.6198, allocations: 3.281 kB / 0.8253 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.123e-05/0.6199, allocations: 27.09 kB / 0.8253 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-05/0.62, allocations: 13.22 kB / 0.8254 GB, free: 12.12 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 (decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 0.0001292/0.6201, allocations: 163.1 kB / 0.8255 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.6201, allocations: 30.47 kB / 0.8255 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003333/0.6204, allocations: 216.3 kB / 0.8257 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.6204, allocations: 3.938 kB / 0.8258 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6204, allocations: 0.5156 kB / 0.8258 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.6205, allocations: 4.562 kB / 0.8258 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005744/0.621, allocations: 0.5174 MB / 0.8263 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.621, allocations: 1.953 kB / 0.8263 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.357e-05/0.6211, allocations: 18.33 kB / 0.8263 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.6211, allocations: 5.625 kB / 0.8263 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.6211, allocations: 10.75 kB / 0.8263 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.6211, allocations: 1.688 kB / 0.8263 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6211, allocations: 0 / 0.8263 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.6214, allocations: 309 kB / 0.8266 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.872e-05/0.6214, allocations: 25.83 kB / 0.8266 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.6215, allocations: 4.453 kB / 0.8266 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.652e-05/0.6215, allocations: 19.09 kB / 0.8266 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/0.6216, allocations: 14.31 kB / 0.8267 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.6216, allocations: 7.438 kB / 0.8267 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001704/0.6218, allocations: 216.2 kB / 0.8269 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.6218, allocations: 0 / 0.8269 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002706/0.622, allocations: 55.03 kB / 0.8269 GB, free: 11.14 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: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001199/0.6232, allocations: 1.18 MB / 0.8281 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003011/0.6235, allocations: 180.2 kB / 0.8282 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.6236, allocations: 4.062 kB / 0.8282 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.6237, allocations: 73.28 kB / 0.8283 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.6239, allocations: 60.56 kB / 0.8284 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/0.6267, allocations: 2.639 MB / 0.831 GB, free: 8.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.6269, allocations: 144.2 kB / 0.8311 GB, free: 8.438 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.943e-05/0.6269, allocations: 42.06 kB / 0.8311 GB, free: 8.422 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.627, allocations: 79.31 kB / 0.8312 GB, free: 8.367 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/0.627, allocations: 1.062 kB / 0.8312 GB, free: 8.367 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.6509, allocations: 6.342 MB / 0.8374 GB, free: 6.395 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.987/7.638, allocations: 15.06 kB / 0.8374 GB, free: 6.383 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Change.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.764609420206398] Failed to read output from testmodel.py, exit status != 0: 7.734557801391929 7.745445188 7.128316414 Calling exit ...