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.0008141/0.0008141, 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.0008231/0.0008231, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9428/0.9428, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.7416/0.7416, allocations: 154.6 MB / 413.7 MB, free: 0.793 MB / 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: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.26e-05, allocations: 2.281 kB / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001212/0.001234, allocations: 0.5737 MB / 0.6186 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.002367, allocations: 1.135 MB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.745e-05/0.002404, allocations: 3.938 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.782e-05/0.002432, allocations: 3.938 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.846e-05/0.002491, allocations: 3.938 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003848/0.002876, allocations: 123.2 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.003009, allocations: 95.81 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.386e-05/0.003103, allocations: 0 / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.911e-05/0.003182, allocations: 47.97 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.917e-05/0.003261, allocations: 35.88 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.003282, allocations: 8 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.495e-05/0.003337, allocations: 12 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.496e-05/0.003362, allocations: 11.98 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.825e-05/0.00341, allocations: 19.98 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.003558, allocations: 107.7 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.003561, allocations: 0 / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.252e-06/0.003562, allocations: 0 / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.003566, allocations: 0 / 0.6201 GB, free: 11.56 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003885/0.003955, allocations: 300 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.004001, allocations: 9.469 kB / 0.6204 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.867e-05/0.00403, allocations: 38.75 kB / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.369e-05/0.004063, allocations: 4.938 kB / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.968e-05/0.004143, allocations: 105.7 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.004155, allocations: 4.375 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.004168, allocations: 4.375 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.446e-05/0.004262, allocations: 63.95 kB / 0.6206 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.00427, allocations: 192 / 0.6206 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.00428, allocations: 4.375 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.004285, allocations: 4.125 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.881e-05/0.004304, allocations: 3.984 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003153/0.004619, allocations: 248 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.461e-05/0.004674, allocations: 26.52 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.193e-05/0.004686, allocations: 4.859 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.314e-06/0.004693, allocations: 3.984 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00014/0.004833, allocations: 89.09 kB / 0.621 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.004834, allocations: 0 / 0.621 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001564/0.00499, allocations: 65.62 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.005024, allocations: 55.39 kB / 0.6211 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.794e-05/0.005082, allocations: 101.9 kB / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.005098, allocations: 29.7 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4e-05/0.005138, allocations: 100.1 kB / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.735e-06/0.005146, allocations: 0 / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.005188, allocations: 33.64 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.492e-05/0.005263, allocations: 318.8 kB / 0.6217 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.834e-05/0.005331, allocations: 57.67 kB / 0.6217 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.975e-05/0.005391, allocations: 76.27 kB / 0.6218 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.041e-05/0.005462, allocations: 84.2 kB / 0.6219 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.005464, allocations: 0 / 0.6219 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001753/0.005639, allocations: 189 kB / 0.6221 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/0.005671, allocations: 37.62 kB / 0.6221 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.005677, allocations: 4 kB / 0.6221 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.005687, allocations: 0 / 0.6221 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.363e-05/0.005701, allocations: 0 / 0.6221 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.005708, allocations: 4 kB / 0.6221 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.005836, allocations: 27.91 kB / 0.6221 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.005851, allocations: 8.297 kB / 0.6222 GB, free: 9.227 MB / 0.5886 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 6.151e-05/0.005912, allocations: 118.8 kB / 0.6223 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.244e-06/0.005919, allocations: 11.97 kB / 0.6223 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.083e-05/0.00594, allocations: 4 kB / 0.6223 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.005942, allocations: 0 / 0.6223 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.005948, allocations: 4 kB / 0.6223 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.005951, allocations: 0 / 0.6223 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.807e-05/0.006029, allocations: 132.7 kB / 0.6224 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.00603, allocations: 0 / 0.6224 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.113e-06/0.006037, allocations: 11.92 kB / 0.6224 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.006039, allocations: 0 / 0.6224 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.401e-06/0.006044, allocations: 0 / 0.6224 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.006045, allocations: 0 / 0.6224 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.006046, allocations: 8 kB / 0.6224 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.00627, allocations: 73.08 kB / 0.6225 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.066e-06/0.006278, allocations: 7.938 kB / 0.6225 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.006289, allocations: 4 kB / 0.6225 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.206e-05/0.006301, allocations: 3.984 kB / 0.6225 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.541e-05/0.006327, allocations: 4.281 kB / 0.6225 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.006331, allocations: 3.938 kB / 0.6225 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.013e-05/0.006361, allocations: 83.28 kB / 0.6226 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006361, allocations: 0 / 0.6226 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001381/0.006499, allocations: 19.98 kB / 0.6226 GB, free: 8.668 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: 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.000293/0.006792, allocations: 0.6241 MB / 0.6232 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001706/0.006963, allocations: 137 kB / 0.6234 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.006965, allocations: 4 kB / 0.6234 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.581e-05/0.006981, allocations: 4 kB / 0.6234 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.007148, allocations: 17.95 kB / 0.6234 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.008158, allocations: 1.481 MB / 0.6248 GB, free: 6.227 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.42e-05/0.008202, allocations: 67.53 kB / 0.6249 GB, free: 6.141 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.25e-05/0.008225, allocations: 4 kB / 0.6249 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.008258, allocations: 8.5 kB / 0.6249 GB, free: 6.129 MB / 0.5886 GB Notification: Performance of SimCode: time 6.11e-07/0.008258, allocations: 0 / 0.6249 GB, free: 6.129 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.02596, allocations: 2.718 MB / 0.6276 GB, free: 3.594 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.872/6.898, allocations: 15.45 kB / 0.6276 GB, free: 3.582 MB / 0.5886 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.680434851907194] Failed to read output from testmodel.py, exit status != 0: 6.980028099380434 6.992270832 6.986054074 Calling exit ...