Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.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.0007446/0.0007446, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0007686/0.0007686, allocations: 208.1 kB / 22.24 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.9951/0.9951, allocations: 230.6 MB / 256 MB, free: 9.625 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.778/0.778, allocations: 203.5 MB / 0.5039 GB, free: 10.75 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.Logical.Validation.Switch,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Switch",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.0009571/0.0009571, allocations: 70.55 kB / 0.7178 GB, free: 4.434 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5661/0.5671, allocations: 102 MB / 0.8174 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001795/0.5689, allocations: 0.6682 MB / 0.818 GB, free: 0.832 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.5701, allocations: 1.289 MB / 0.8193 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.239e-05/0.5702, allocations: 4 kB / 0.8193 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.129e-05/0.5702, allocations: 4.641 kB / 0.8193 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.132e-05/0.5703, allocations: 22.42 kB / 0.8193 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007423/0.5711, allocations: 313.1 kB / 0.8196 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000293/0.5714, allocations: 255.9 kB / 0.8199 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.5715, allocations: 17.2 kB / 0.8199 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.5716, allocations: 97.88 kB / 0.82 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.5718, allocations: 84.44 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.5718, allocations: 19.88 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.155e-05/0.5719, allocations: 36.06 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.663e-05/0.5719, allocations: 16.17 kB / 0.8201 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.572, allocations: 80.12 kB / 0.8202 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002901/0.5723, allocations: 218.3 kB / 0.8204 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.5723, allocations: 0 / 0.8204 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.515e-06/0.5723, allocations: 2.156 kB / 0.8204 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.5723, allocations: 4 kB / 0.8204 GB, free: 15.42 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005172/0.5728, allocations: 426.7 kB / 0.8208 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.5729, allocations: 8.281 kB / 0.8208 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.417e-05/0.5729, allocations: 35.02 kB / 0.8209 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.227e-05/0.573, allocations: 14.28 kB / 0.8209 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.582e-05/0.5731, allocations: 116.4 kB / 0.821 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.5731, allocations: 16.06 kB / 0.821 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.5731, allocations: 13.53 kB / 0.821 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.5732, allocations: 61.73 kB / 0.8211 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.5732, allocations: 0 / 0.8211 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.5733, allocations: 11.45 kB / 0.8211 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.5733, allocations: 1.75 kB / 0.8211 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.284e-05/0.5733, allocations: 21.47 kB / 0.8211 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000494/0.5738, allocations: 334.9 kB / 0.8214 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.155e-05/0.5739, allocations: 29.84 kB / 0.8215 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.913e-05/0.5739, allocations: 17.48 kB / 0.8215 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-06/0.5739, allocations: 7.875 kB / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001869/0.5741, allocations: 101.8 kB / 0.8216 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.153e-06/0.5741, allocations: 0 / 0.8216 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0002896/0.5744, allocations: 144.2 kB / 0.8217 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.5744, allocations: 59.09 kB / 0.8218 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.863e-05/0.5745, allocations: 139.8 kB / 0.8219 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.5745, allocations: 31.3 kB / 0.8219 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.008e-05/0.5746, allocations: 105.6 kB / 0.822 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.5746, allocations: 20 kB / 0.8221 GB, free: 14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.898e-05/0.5747, allocations: 63.48 kB / 0.8221 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.5748, allocations: 328.6 kB / 0.8224 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.575, allocations: 179.6 kB / 0.8226 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.5752, allocations: 234.5 kB / 0.8228 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.5754, allocations: 233.7 kB / 0.8231 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.5754, allocations: 0 / 0.8231 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004715/0.5759, allocations: 477.7 kB / 0.8235 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.706e-05/0.5759, allocations: 97.28 kB / 0.8236 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.5759, allocations: 7.812 kB / 0.8236 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.5759, allocations: 1.469 kB / 0.8236 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.304e-05/0.576, allocations: 3.312 kB / 0.8236 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.576, allocations: 3.969 kB / 0.8236 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003026/0.5763, allocations: 83.56 kB / 0.8237 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.5763, allocations: 17.2 kB / 0.8237 GB, free: 12.7 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.468e-05/0.5764, allocations: 140.1 kB / 0.8239 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.076e-05/0.5764, allocations: 8.812 kB / 0.8239 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.576e-05/0.5764, allocations: 11.67 kB / 0.8239 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.5764, allocations: 2.156 kB / 0.8239 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5765, allocations: 0 / 0.8239 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.5765, allocations: 1.359 kB / 0.8239 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002836/0.5767, allocations: 154 kB / 0.824 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5767, allocations: 0.75 kB / 0.824 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.516e-06/0.5768, allocations: 2.5 kB / 0.824 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.5768, allocations: 9.062 kB / 0.824 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.5768, allocations: 2.469 kB / 0.824 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.5768, allocations: 1.344 kB / 0.824 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.5768, allocations: 0 / 0.824 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.5769, allocations: 145.7 kB / 0.8242 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.032e-05/0.5769, allocations: 7.906 kB / 0.8242 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.5769, allocations: 2.859 kB / 0.8242 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.707e-05/0.577, allocations: 4 kB / 0.8242 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.577, allocations: 12.16 kB / 0.8242 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.577, allocations: 4.125 kB / 0.8242 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.724e-05/0.577, allocations: 98.72 kB / 0.8243 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.577, allocations: 7.938 kB / 0.8243 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001967/0.5772, allocations: 52.8 kB / 0.8244 GB, free: 12.17 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003747/0.5776, allocations: 0.6747 MB / 0.825 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003927/0.578, allocations: 415.8 kB / 0.8254 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.578, allocations: 1.125 kB / 0.8254 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.786e-05/0.5781, allocations: 31.14 kB / 0.8254 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.5783, allocations: 36.25 kB / 0.8255 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.5803, allocations: 2.433 MB / 0.8279 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.082e-05/0.5804, allocations: 81.88 kB / 0.8279 GB, free: 9.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.512e-05/0.5804, allocations: 12.7 kB / 0.8279 GB, free: 9.086 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.468e-05/0.5805, allocations: 26.14 kB / 0.828 GB, free: 9.066 MB / 0.6198 GB Notification: Performance of SimCode: time 5.91e-07/0.5805, allocations: 1.062 kB / 0.828 GB, free: 9.066 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02033/0.6008, allocations: 4.681 MB / 0.8325 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.67/7.271, allocations: 3.875 kB / 0.8325 GB, free: 7.93 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Switch_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Switch.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.275795547291636] Failed to read output from testmodel.py, exit status != 0: 7.348937397822738 7.363153561 6.788591731 Calling exit ...