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.0008261/0.0008261, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0009282/0.0009282, allocations: 208.6 kB / 22.25 MB, free: 3.59 MB / 13.93 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.9206/0.9206, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.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.7665/0.7665, allocations: 203.5 MB / 0.5039 GB, free: 10.73 MB / 410.7 MB " [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: 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.001237/0.001237, allocations: 69.2 kB / 0.7178 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.532/0.5332, allocations: 102 MB / 0.8174 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001606/0.5348, allocations: 0.584 MB / 0.8179 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.536, allocations: 1.136 MB / 0.819 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.147e-05/0.536, allocations: 0 / 0.819 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.666e-05/0.536, allocations: 0 / 0.819 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.006e-05/0.5361, allocations: 4.641 kB / 0.819 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004326/0.5365, allocations: 124 kB / 0.8192 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.5367, allocations: 92.05 kB / 0.8192 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.5368, allocations: 4.469 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.032e-05/0.5369, allocations: 38.23 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.537, allocations: 31.42 kB / 0.8193 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.537, allocations: 5.656 kB / 0.8193 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.131e-05/0.5371, allocations: 16.05 kB / 0.8193 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.501e-05/0.5371, allocations: 11.03 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.294e-05/0.5372, allocations: 23.3 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.5373, allocations: 89.83 kB / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.5373, allocations: 0 / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.244e-06/0.5373, allocations: 0 / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.924e-06/0.5373, allocations: 0 / 0.8195 GB, free: 15.89 MB / 0.6198 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.0004358/0.5378, allocations: 297.1 kB / 0.8197 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.5378, allocations: 12.73 kB / 0.8198 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.026e-05/0.5379, allocations: 34.75 kB / 0.8198 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/0.5379, allocations: 12.86 kB / 0.8198 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.826e-05/0.538, allocations: 114.8 kB / 0.8199 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.538, allocations: 3.391 kB / 0.8199 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.538, allocations: 4.812 kB / 0.8199 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.5381, allocations: 72 kB / 0.82 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.5381, allocations: 3.938 kB / 0.82 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.5381, allocations: 0.6094 kB / 0.82 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.5382, allocations: 2.156 kB / 0.82 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.272e-05/0.5382, allocations: 2.922 kB / 0.82 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.5385, allocations: 238.6 kB / 0.8202 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.936e-05/0.5386, allocations: 32.06 kB / 0.8203 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.862e-05/0.5386, allocations: 14.97 kB / 0.8203 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.223e-06/0.5386, allocations: 0 / 0.8203 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002094/0.5388, allocations: 89.66 kB / 0.8204 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.5388, allocations: 0 / 0.8204 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002324/0.5391, allocations: 64.38 kB / 0.8204 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.5391, allocations: 58.25 kB / 0.8205 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.152e-05/0.5392, allocations: 105.4 kB / 0.8206 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.5392, allocations: 27.23 kB / 0.8206 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.5393, allocations: 88.69 kB / 0.8207 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.134e-05/0.5393, allocations: 4.562 kB / 0.8207 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/0.5393, allocations: 31.23 kB / 0.8207 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.5394, allocations: 312.3 kB / 0.821 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.149e-05/0.5395, allocations: 59.88 kB / 0.8211 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.377e-05/0.5396, allocations: 82 kB / 0.8211 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.5397, allocations: 91.61 kB / 0.8212 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5397, allocations: 0 / 0.8212 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000248/0.54, allocations: 172.7 kB / 0.8214 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.272e-05/0.54, allocations: 38.7 kB / 0.8214 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.5401, allocations: 1.438 kB / 0.8214 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.5401, allocations: 0 / 0.8214 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.626e-05/0.5401, allocations: 4.219 kB / 0.8214 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.5401, allocations: 4.656 kB / 0.8214 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.5403, allocations: 29.41 kB / 0.8215 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.5403, allocations: 4.797 kB / 0.8215 GB, free: 13.92 MB / 0.6198 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 9.154e-05/0.5404, allocations: 125.5 kB / 0.8216 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-06/0.5404, allocations: 0.6562 kB / 0.8216 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/0.5404, allocations: 4.75 kB / 0.8216 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.5404, allocations: 0.9062 kB / 0.8216 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.5404, allocations: 1.016 kB / 0.8216 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.5404, allocations: 7.75 kB / 0.8216 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.5405, allocations: 132.3 kB / 0.8217 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.5405, allocations: 0.6094 kB / 0.8217 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.906e-06/0.5406, allocations: 4.938 kB / 0.8217 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.5406, allocations: 0.6094 kB / 0.8217 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.5406, allocations: 2.844 kB / 0.8217 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.5406, allocations: 4.641 kB / 0.8218 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5406, allocations: 0 / 0.8218 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.5407, allocations: 90.5 kB / 0.8218 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-06/0.5407, allocations: 0.9375 kB / 0.8218 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.5407, allocations: 3.984 kB / 0.8218 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.623e-05/0.5407, allocations: 4.656 kB / 0.8218 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.5408, allocations: 5.25 kB / 0.8219 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.5408, allocations: 1.281 kB / 0.8219 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.309e-05/0.5408, allocations: 88.28 kB / 0.8219 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5408, allocations: 0 / 0.8219 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001595/0.541, allocations: 19.88 kB / 0.822 GB, free: 13.44 MB / 0.6198 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.0003518/0.5413, allocations: 0.6129 MB / 0.8226 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000202/0.5415, allocations: 143.1 kB / 0.8227 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5415, allocations: 4.188 kB / 0.8227 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.192e-05/0.5415, allocations: 8.312 kB / 0.8227 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.5417, allocations: 13.97 kB / 0.8227 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.5429, allocations: 1.482 MB / 0.8242 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.685e-05/0.543, allocations: 62.48 kB / 0.8242 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.682e-05/0.543, allocations: 2.266 kB / 0.8242 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.571e-05/0.5431, allocations: 9.969 kB / 0.8242 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.5431, allocations: 4 kB / 0.8242 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/0.5636, allocations: 2.591 MB / 0.8268 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.594/7.157, allocations: 8.031 kB / 0.8268 GB, free: 10.33 MB / 0.6198 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: 10.008878853172064] Failed to read output from testmodel.py, exit status != 0: 7.234449811745435 7.248327161 6.708561777 Calling exit ...