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.0008229/0.0008229, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008145/0.0008145, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8786/0.8786, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7339/0.7339, allocations: 154.6 MB / 413.7 MB, free: 0.8125 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.238e-06/4.238e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.966e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Change): time 0.002759/0.002789, allocations: 1.901 MB / 0.62 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.004302, allocations: 1.212 MB / 0.6211 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.00441, allocations: 0 / 0.6211 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0004537/0.004864, allocations: 95.5 kB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004548/0.005319, allocations: 147.3 kB / 0.6214 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.00566, allocations: 131.4 kB / 0.6215 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.005915, allocations: 235.3 kB / 0.6217 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.00606, allocations: 33.67 kB / 0.6218 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.006231, allocations: 131.7 kB / 0.6219 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.006353, allocations: 91.75 kB / 0.622 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.006376, allocations: 16 kB / 0.622 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002322/0.006608, allocations: 47.98 kB / 0.622 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.31e-05/0.006681, allocations: 71.69 kB / 0.6221 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.575e-05/0.006737, allocations: 51.84 kB / 0.6222 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.007033, allocations: 287 kB / 0.6224 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.007037, allocations: 0 / 0.6224 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.342e-06/0.007039, allocations: 0 / 0.6224 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.007044, allocations: 0 / 0.6224 GB, free: 9.242 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.0007181/0.007762, allocations: 488.9 kB / 0.6229 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.007802, allocations: 8.031 kB / 0.6229 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.608e-05/0.007838, allocations: 42.73 kB / 0.6229 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.007885, allocations: 24.8 kB / 0.623 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.008185, allocations: 232.7 kB / 0.6232 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.008202, allocations: 12 kB / 0.6232 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.008224, allocations: 8 kB / 0.6232 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.008435, allocations: 129.5 kB / 0.6233 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.008443, allocations: 4 kB / 0.6233 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.008454, allocations: 0 / 0.6233 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.008462, allocations: 7.938 kB / 0.6233 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.008618, allocations: 87.92 kB / 0.6234 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005392/0.009157, allocations: 399.8 kB / 0.6238 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.009383, allocations: 130.6 kB / 0.6239 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.252e-05/0.009466, allocations: 52.83 kB / 0.624 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.009485, allocations: 0 / 0.624 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002036/0.009689, allocations: 133.9 kB / 0.6241 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.00969, allocations: 0 / 0.6241 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16): time 0.0004354/0.01013, allocations: 265.2 kB / 0.6244 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.01017, allocations: 55.41 kB / 0.6244 GB, free: 7.051 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.01042, allocations: 337.8 kB / 0.6247 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.01043, allocations: 33.7 kB / 0.6248 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.87e-05/0.01051, allocations: 136.5 kB / 0.6249 GB, free: 6.543 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.01054, allocations: 43.69 kB / 0.6249 GB, free: 6.5 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.786e-05/0.01061, allocations: 57.69 kB / 0.625 GB, free: 6.438 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.822e-05/0.01071, allocations: 338.8 kB / 0.6253 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.01084, allocations: 91.88 kB / 0.6254 GB, free: 6.008 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004239/0.01126, allocations: 133.1 kB / 0.6255 GB, free: 5.859 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.01148, allocations: 191.8 kB / 0.6257 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.01149, allocations: 0 / 0.6257 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003168/0.0118, allocations: 285.2 kB / 0.626 GB, free: 5.371 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.01182, allocations: 17.95 kB / 0.626 GB, free: 5.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.01183, allocations: 0 / 0.626 GB, free: 5.355 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.01184, allocations: 4 kB / 0.626 GB, free: 5.352 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.01197, allocations: 39.91 kB / 0.626 GB, free: 5.312 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.01198, allocations: 4 kB / 0.6261 GB, free: 5.309 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.815e-05/0.01207, allocations: 24.09 kB / 0.6261 GB, free: 5.285 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.01209, allocations: 16 kB / 0.6261 GB, free: 5.27 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.0001189/0.01221, allocations: 158.7 kB / 0.6262 GB, free: 5.105 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.01223, allocations: 23.8 kB / 0.6263 GB, free: 5.082 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003278/0.01256, allocations: 219.5 kB / 0.6265 GB, free: 4.859 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.01256, allocations: 0 / 0.6265 GB, free: 4.859 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.01257, allocations: 4 kB / 0.6265 GB, free: 4.855 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.01258, allocations: 3.984 kB / 0.6265 GB, free: 4.852 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005312/0.01311, allocations: 0.5234 MB / 0.627 GB, free: 4.281 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.01311, allocations: 0 / 0.627 GB, free: 4.281 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.313e-05/0.01316, allocations: 19.98 kB / 0.627 GB, free: 4.262 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.01316, allocations: 0 / 0.627 GB, free: 4.262 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.01318, allocations: 0 / 0.627 GB, free: 4.262 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.01318, allocations: 4 kB / 0.627 GB, free: 4.258 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01318, allocations: 0 / 0.627 GB, free: 4.258 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.01344, allocations: 307.7 kB / 0.6273 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.084e-05/0.01347, allocations: 35.69 kB / 0.6273 GB, free: 3.906 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.01349, allocations: 4 kB / 0.6273 GB, free: 3.902 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.39e-05/0.01357, allocations: 15.97 kB / 0.6274 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/0.01362, allocations: 15.98 kB / 0.6274 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.01364, allocations: 7.984 kB / 0.6274 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001417/0.01378, allocations: 213.2 kB / 0.6276 GB, free: 3.652 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.01378, allocations: 0 / 0.6276 GB, free: 3.652 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002412/0.01402, allocations: 51.92 kB / 0.6276 GB, free: 3.602 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.001226/0.01524, allocations: 1.183 MB / 0.6288 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002963/0.01554, allocations: 182.9 kB / 0.629 GB, free: 2.434 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.01554, allocations: 4.312 kB / 0.629 GB, free: 2.43 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.01565, allocations: 67.91 kB / 0.629 GB, free: 2.363 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.01593, allocations: 68.36 kB / 0.6291 GB, free: 2.312 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/0.01815, allocations: 2.641 MB / 0.6317 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.756e-05/0.01825, allocations: 141.2 kB / 0.6318 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.604e-05/0.01834, allocations: 37.92 kB / 0.6318 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.01844, allocations: 80.47 kB / 0.6319 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of SimCode: time 8.62e-07/0.01844, allocations: 0 / 0.6319 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.04044, allocations: 6.487 MB / 0.6383 GB, free: 8.918 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.657/6.698, allocations: 3.938 kB / 0.6383 GB, free: 8.914 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 & /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: 9.391581380739808] Failed to read output from testmodel.py, exit status != 0: 6.802590046077967 6.81587375 6.80611841 Calling exit ...