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.0008747/0.0008747, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001116/0.001116, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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.9136/0.9136, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.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.7375/0.7375, allocations: 154.6 MB / 413.8 MB, free: 0.8164 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 4.148e-06/4.148e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.795e-05/3.21e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.003024/0.003056, allocations: 1.889 MB / 0.62 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001678/0.004734, allocations: 1.223 MB / 0.6211 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.00488, allocations: 7.938 kB / 0.6212 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000402/0.005282, allocations: 95.5 kB / 0.6212 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003842/0.005666, allocations: 135.3 kB / 0.6214 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.005968, allocations: 131.4 kB / 0.6215 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002865/0.006255, allocations: 231.4 kB / 0.6217 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.006418, allocations: 45.7 kB / 0.6218 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.006594, allocations: 127.6 kB / 0.6219 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.006728, allocations: 91.77 kB / 0.622 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.006754, allocations: 12 kB / 0.622 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.00688, allocations: 55.91 kB / 0.622 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.734e-05/0.006958, allocations: 67.75 kB / 0.6221 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.323e-05/0.007021, allocations: 55.83 kB / 0.6222 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003361/0.007357, allocations: 279.1 kB / 0.6224 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.007361, allocations: 0 / 0.6224 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.352e-06/0.007362, allocations: 0 / 0.6224 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.007368, allocations: 4 kB / 0.6224 GB, free: 9.227 MB / 0.5886 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.0007232/0.008091, allocations: 488.8 kB / 0.6229 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.008132, allocations: 12.03 kB / 0.6229 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.705e-05/0.008169, allocations: 42.75 kB / 0.6229 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.173e-05/0.008221, allocations: 24.8 kB / 0.623 GB, free: 8.633 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.008521, allocations: 232.7 kB / 0.6232 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.008537, allocations: 11.98 kB / 0.6232 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.008553, allocations: 11.94 kB / 0.6232 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.008757, allocations: 117.6 kB / 0.6233 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.008765, allocations: 0 / 0.6233 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.008779, allocations: 8 kB / 0.6233 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.008785, allocations: 3.938 kB / 0.6233 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.008941, allocations: 87.92 kB / 0.6234 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005429/0.009484, allocations: 403.7 kB / 0.6238 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.0097, allocations: 130.6 kB / 0.6239 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.342e-05/0.009783, allocations: 52.81 kB / 0.624 GB, free: 7.508 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.009803, allocations: 7.938 kB / 0.624 GB, free: 7.5 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004519/0.01025, allocations: 119.3 kB / 0.6241 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.01026, allocations: 0 / 0.6241 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16): time 0.0004124/0.01067, allocations: 259.9 kB / 0.6243 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.01071, allocations: 63.39 kB / 0.6244 GB, free: 7.039 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.01095, allocations: 337.8 kB / 0.6247 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.01097, allocations: 29.7 kB / 0.6248 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.019e-05/0.01105, allocations: 144.4 kB / 0.6249 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.01108, allocations: 43.69 kB / 0.6249 GB, free: 6.484 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.487e-05/0.01115, allocations: 57.64 kB / 0.625 GB, free: 6.422 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.609e-05/0.01123, allocations: 334.8 kB / 0.6253 GB, free: 6.086 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.01136, allocations: 87.94 kB / 0.6254 GB, free: 6 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.01149, allocations: 133.1 kB / 0.6255 GB, free: 5.852 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.01172, allocations: 187.8 kB / 0.6257 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01172, allocations: 0 / 0.6257 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000333/0.01206, allocations: 289.2 kB / 0.626 GB, free: 5.363 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.01207, allocations: 13.97 kB / 0.626 GB, free: 5.352 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.01208, allocations: 3.984 kB / 0.626 GB, free: 5.348 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.0121, allocations: 4 kB / 0.626 GB, free: 5.344 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.01222, allocations: 51.84 kB / 0.6261 GB, free: 5.293 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.01223, allocations: 0 / 0.6261 GB, free: 5.293 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.157e-05/0.01231, allocations: 28.09 kB / 0.6261 GB, free: 5.266 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.01233, allocations: 8 kB / 0.6261 GB, free: 5.258 MB / 0.5886 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.0001155/0.01244, allocations: 166.7 kB / 0.6262 GB, free: 5.086 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.01247, allocations: 27.8 kB / 0.6263 GB, free: 5.059 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003094/0.01278, allocations: 215.5 kB / 0.6265 GB, free: 4.84 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.01278, allocations: 0 / 0.6265 GB, free: 4.84 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.01278, allocations: 0 / 0.6265 GB, free: 4.84 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01279, allocations: 4 kB / 0.6265 GB, free: 4.836 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005266/0.01331, allocations: 0.5195 MB / 0.627 GB, free: 4.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.01332, allocations: 0 / 0.627 GB, free: 4.27 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.071e-05/0.01337, allocations: 19.98 kB / 0.627 GB, free: 4.25 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.01337, allocations: 0 / 0.627 GB, free: 4.25 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.01338, allocations: 8 kB / 0.627 GB, free: 4.242 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.01339, allocations: 3.984 kB / 0.627 GB, free: 4.238 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.01339, allocations: 0 / 0.627 GB, free: 4.238 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.01365, allocations: 307.7 kB / 0.6273 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.949e-05/0.01368, allocations: 27.75 kB / 0.6273 GB, free: 3.895 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.01371, allocations: 11.98 kB / 0.6273 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.513e-05/0.01378, allocations: 15.98 kB / 0.6274 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.997e-05/0.01384, allocations: 15.97 kB / 0.6274 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.01385, allocations: 4 kB / 0.6274 GB, free: 3.848 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001602/0.01402, allocations: 217.2 kB / 0.6276 GB, free: 3.633 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01402, allocations: 0 / 0.6276 GB, free: 3.633 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002401/0.01426, allocations: 47.94 kB / 0.6276 GB, free: 3.586 MB / 0.5886 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.001164/0.01542, allocations: 1.185 MB / 0.6288 GB, free: 2.594 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000309/0.01573, allocations: 191.2 kB / 0.629 GB, free: 2.41 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01573, allocations: 0 / 0.629 GB, free: 2.41 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.01583, allocations: 67.89 kB / 0.629 GB, free: 2.344 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.01613, allocations: 58.03 kB / 0.6291 GB, free: 2.301 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.01862, allocations: 2.637 MB / 0.6317 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.916e-05/0.01872, allocations: 141.2 kB / 0.6318 GB, free: 15.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.112e-05/0.01881, allocations: 41.91 kB / 0.6318 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.01892, allocations: 84.41 kB / 0.6319 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of SimCode: time 9.92e-07/0.01892, allocations: 0 / 0.6319 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02326/0.04217, allocations: 6.484 MB / 0.6383 GB, free: 8.906 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.061/7.103, allocations: 2.625 kB / 0.6383 GB, free: 8.906 MB / 0.6042 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Change_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.018718401901424] Failed to read output from testmodel.py, exit status != 0: 7.205269572325051 7.214853381 7.205760948 Calling exit ...