Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.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.0008017/0.0008017, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0008351/0.0008351, allocations: 162 kB / 22.43 MB, free: 2.141 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.8528/0.8528, allocations: 177.2 MB / 202.8 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7008/0.7008, allocations: 155 MB / 414.2 MB, free: 484 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.Utilities.Validation.Assert,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Utilities_Validation_Assert",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.0008854/0.0008854, allocations: 73.59 kB / 0.6186 GB, free: 13.28 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4083, allocations: 102 MB / 0.7182 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001176/0.4095, allocations: 0.5732 MB / 0.7188 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008711/0.4103, allocations: 1.139 MB / 0.7199 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.274e-05/0.4104, allocations: 5.094 kB / 0.7199 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.316e-05/0.4104, allocations: 0 / 0.7199 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.421e-05/0.4104, allocations: 14.11 kB / 0.7199 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000358/0.4108, allocations: 117.9 kB / 0.72 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.4109, allocations: 81.56 kB / 0.7201 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.711e-05/0.411, allocations: 7.516 kB / 0.7201 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.962e-05/0.4111, allocations: 51.31 kB / 0.7202 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.525e-05/0.4112, allocations: 25.81 kB / 0.7202 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.4112, allocations: 8.25 kB / 0.7202 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.567e-05/0.4113, allocations: 23.56 kB / 0.7202 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.992e-05/0.4113, allocations: 11.34 kB / 0.7202 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.14e-05/0.4113, allocations: 35.47 kB / 0.7203 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.4115, allocations: 96.23 kB / 0.7204 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4115, allocations: 0 / 0.7204 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.532e-06/0.4115, allocations: 1.25 kB / 0.7204 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.4115, allocations: 0 / 0.7204 GB, free: 21.82 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003262/0.4118, allocations: 296.1 kB / 0.7206 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.4119, allocations: 11.27 kB / 0.7206 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.971e-05/0.4119, allocations: 32.77 kB / 0.7207 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.4119, allocations: 16.53 kB / 0.7207 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.292e-05/0.412, allocations: 110.1 kB / 0.7208 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.412, allocations: 6.719 kB / 0.7208 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.412, allocations: 5.641 kB / 0.7208 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.193e-05/0.4121, allocations: 69.36 kB / 0.7209 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.4121, allocations: 3.938 kB / 0.7209 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.4121, allocations: 0 / 0.7209 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.4121, allocations: 1.312 kB / 0.7209 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.769e-05/0.4121, allocations: 4.922 kB / 0.7209 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002652/0.4124, allocations: 241.4 kB / 0.7211 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.004e-05/0.4124, allocations: 27.28 kB / 0.7211 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.232e-05/0.4124, allocations: 14.94 kB / 0.7212 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-06/0.4124, allocations: 0 / 0.7212 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001246/0.4126, allocations: 89.98 kB / 0.7212 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.4126, allocations: 0 / 0.7212 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001429/0.4127, allocations: 61 kB / 0.7213 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.4127, allocations: 57.45 kB / 0.7214 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.429e-05/0.4128, allocations: 116.2 kB / 0.7215 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.4128, allocations: 28.98 kB / 0.7215 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.403e-05/0.4128, allocations: 87.17 kB / 0.7216 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.895e-06/0.4128, allocations: 5.203 kB / 0.7216 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.4129, allocations: 30.28 kB / 0.7216 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.745e-05/0.4129, allocations: 317.3 kB / 0.7219 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.729e-05/0.4129, allocations: 60.62 kB / 0.722 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.742e-05/0.413, allocations: 76.67 kB / 0.722 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.442e-05/0.4131, allocations: 89.39 kB / 0.7221 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.4131, allocations: 0 / 0.7221 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001612/0.4132, allocations: 176.2 kB / 0.7223 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/0.4133, allocations: 38.77 kB / 0.7223 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.4133, allocations: 1.219 kB / 0.7223 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.4133, allocations: 5.219 kB / 0.7223 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.457e-05/0.4133, allocations: 1.688 kB / 0.7223 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.4133, allocations: 1.688 kB / 0.7223 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.4134, allocations: 23.88 kB / 0.7224 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.4135, allocations: 10.41 kB / 0.7224 GB, free: 19.85 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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 4.171e-05/0.4135, allocations: 122.2 kB / 0.7225 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.801e-06/0.4135, allocations: 2.625 kB / 0.7225 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.852e-05/0.4135, allocations: 5.859 kB / 0.7225 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.4135, allocations: 4.234 kB / 0.7225 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4135, allocations: 1.969 kB / 0.7225 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.4135, allocations: 3.984 kB / 0.7225 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.158e-05/0.4136, allocations: 130.6 kB / 0.7226 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4136, allocations: 320 / 0.7226 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.308e-06/0.4136, allocations: 9.984 kB / 0.7226 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.4136, allocations: 0 / 0.7226 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.4136, allocations: 1.875 kB / 0.7226 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.4136, allocations: 0 / 0.7226 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4136, allocations: 1.984 kB / 0.7226 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.589e-05/0.4137, allocations: 85.02 kB / 0.7227 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-06/0.4137, allocations: 10.06 kB / 0.7227 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.297e-06/0.4137, allocations: 1.781 kB / 0.7227 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.788e-06/0.4137, allocations: 0.5625 kB / 0.7227 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.526e-05/0.4137, allocations: 3.859 kB / 0.7227 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.4137, allocations: 5 kB / 0.7227 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.77e-05/0.4137, allocations: 86.19 kB / 0.7228 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4137, allocations: 0.8438 kB / 0.7228 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001375/0.4139, allocations: 15.86 kB / 0.7228 GB, free: 19.38 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0001708/0.414, allocations: 0.622 MB / 0.7235 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001493/0.4142, allocations: 146 kB / 0.7236 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4142, allocations: 0 / 0.7236 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.847e-05/0.4142, allocations: 7.328 kB / 0.7236 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.4144, allocations: 12 kB / 0.7236 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008155/0.4152, allocations: 1.485 MB / 0.7251 GB, free: 17.26 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.864e-05/0.4152, allocations: 62.09 kB / 0.7251 GB, free: 17.19 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.916e-05/0.4152, allocations: 6.219 kB / 0.7251 GB, free: 17.19 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.526e-05/0.4153, allocations: 16.23 kB / 0.7251 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of SimCode: time 6.81e-07/0.4153, allocations: 0 / 0.7251 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01559/0.4308, allocations: 2.719 MB / 0.7278 GB, free: 16.22 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.707/7.138, allocations: 9.922 kB / 0.7278 GB, free: 16.22 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.707621512003243] Failed to read output from testmodel.py, exit status != 0: 7.2161044529639184 7.230031976 6.8159690490000004 Calling exit ...