Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008418/0.0008418, 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.001184/0.001184, 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.8832/0.8832, allocations: 177.2 MB / 202.8 MB, free: 5.746 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.7035/0.7035, 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.Utilities.Validation.Assert,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.775e-06/2.775e-06, allocations: 0 / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.774e-05/2.052e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001245/0.001265, allocations: 0.5862 MB / 0.6186 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.002267, allocations: 1.139 MB / 0.6198 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.792e-05/0.002305, allocations: 0 / 0.6198 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.642e-05/0.002332, allocations: 3.938 kB / 0.6198 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.113e-05/0.002393, allocations: 7.922 kB / 0.6198 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005404/0.002933, allocations: 118.3 kB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.00306, allocations: 83.89 kB / 0.62 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.035e-05/0.00314, allocations: 7.984 kB / 0.62 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.784e-05/0.003218, allocations: 55.89 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.528e-05/0.003293, allocations: 23.91 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.003312, allocations: 8 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.929e-05/0.003361, allocations: 19.98 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.694e-05/0.003378, allocations: 4 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.003418, allocations: 27.91 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.003563, allocations: 99.77 kB / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.003565, allocations: 0 / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.322e-06/0.003566, allocations: 0 / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.003569, allocations: 0 / 0.6202 GB, free: 11.54 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.0003394/0.003909, allocations: 303.9 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.003945, allocations: 12.03 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.637e-05/0.003972, allocations: 38.73 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.004004, allocations: 4.938 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.611e-05/0.00407, allocations: 105.8 kB / 0.6206 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.004082, allocations: 4.375 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.004095, allocations: 4.375 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.905e-05/0.004174, allocations: 59.95 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.00418, allocations: 192 / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.004187, allocations: 4.375 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.004192, allocations: 4.125 kB / 0.6207 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.915e-05/0.004211, allocations: 12 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002757/0.004487, allocations: 243.9 kB / 0.621 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.795e-05/0.004525, allocations: 22.56 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.133e-05/0.004536, allocations: 4.859 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.49e-06/0.004542, allocations: 3.938 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001207/0.004662, allocations: 89.09 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.004663, allocations: 4 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001445/0.004808, allocations: 61.62 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.004837, allocations: 51.41 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.591e-05/0.004893, allocations: 113.8 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.004909, allocations: 33.7 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.578e-05/0.004944, allocations: 88.09 kB / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.885e-06/0.004952, allocations: 7.984 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-05/0.004994, allocations: 29.7 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.947e-05/0.005063, allocations: 318.8 kB / 0.6217 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.804e-05/0.005121, allocations: 57.69 kB / 0.6218 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.894e-05/0.00518, allocations: 80.25 kB / 0.6219 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.83e-05/0.005249, allocations: 88.42 kB / 0.622 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.005251, allocations: 0 / 0.622 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001676/0.005418, allocations: 184.9 kB / 0.6221 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.005443, allocations: 37.69 kB / 0.6222 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.005447, allocations: 0 / 0.6222 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.005457, allocations: 3.938 kB / 0.6222 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.371e-05/0.005471, allocations: 4 kB / 0.6222 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.005477, allocations: 4 kB / 0.6222 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.005599, allocations: 28.22 kB / 0.6222 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.005611, allocations: 4 kB / 0.6222 GB, free: 9.191 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.342e-05/0.005675, allocations: 122.9 kB / 0.6223 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.346e-06/0.005683, allocations: 7.938 kB / 0.6223 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.743e-05/0.0057, allocations: 8 kB / 0.6223 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.005702, allocations: 0 / 0.6223 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.005706, allocations: 0 / 0.6223 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.005708, allocations: 0 / 0.6223 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.269e-05/0.005781, allocations: 128.8 kB / 0.6225 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.005782, allocations: 0 / 0.6225 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.397e-06/0.005785, allocations: 3.938 kB / 0.6225 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.11e-07/0.005786, allocations: 0 / 0.6225 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-06/0.005791, allocations: 4 kB / 0.6225 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.005793, allocations: 4 kB / 0.6225 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.005794, allocations: 0 / 0.6225 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.128e-05/0.005865, allocations: 88.94 kB / 0.6226 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.172e-06/0.005871, allocations: 7.938 kB / 0.6226 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.247e-06/0.00588, allocations: 0 / 0.6226 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.735e-06/0.005888, allocations: 0 / 0.6226 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.28e-05/0.005911, allocations: 7.984 kB / 0.6226 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.005915, allocations: 0 / 0.6226 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.026e-05/0.005945, allocations: 83.28 kB / 0.6227 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005945, allocations: 0 / 0.6227 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001441/0.006089, allocations: 16 kB / 0.6227 GB, free: 8.645 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.0002733/0.006362, allocations: 0.6241 MB / 0.6233 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001658/0.006528, allocations: 141 kB / 0.6234 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.00653, allocations: 0 / 0.6234 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.728e-05/0.006547, allocations: 4 kB / 0.6234 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.006697, allocations: 12 kB / 0.6234 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009645/0.007662, allocations: 1.489 MB / 0.6249 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.529e-05/0.007697, allocations: 63.36 kB / 0.6249 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.852e-05/0.007716, allocations: 7.984 kB / 0.625 GB, free: 6.109 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.622e-05/0.007742, allocations: 12.73 kB / 0.625 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of SimCode: time 4.11e-07/0.007742, allocations: 0 / 0.625 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0151/0.02285, allocations: 2.724 MB / 0.6276 GB, free: 3.555 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.668/6.69, allocations: 7.438 kB / 0.6276 GB, free: 3.551 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.265685620717704] Failed to read output from testmodel.py, exit status != 0: 6.7708798591047525 6.779451647 6.77421332 Calling exit ...