Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.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.0009303/0.0009303, 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.001162/0.001162, allocations: 212.1 kB / 22.25 MB, free: 3.727 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.9858/0.9858, allocations: 230.6 MB / 256 MB, free: 9.59 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.7997/0.7997, allocations: 203.5 MB / 0.5039 GB, free: 10.71 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.Latch,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Latch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Latch",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.0009915/0.0009915, allocations: 66.2 kB / 0.7178 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5455/0.5465, allocations: 102 MB / 0.8174 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001572/0.5481, allocations: 0.742 MB / 0.8181 GB, free: 0.7812 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.5494, allocations: 1.27 MB / 0.8194 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.237e-05/0.5495, allocations: 1.344 kB / 0.8194 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.629e-05/0.5496, allocations: 10.45 kB / 0.8194 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.986e-05/0.5496, allocations: 17.73 kB / 0.8194 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007275/0.5504, allocations: 266.1 kB / 0.8196 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003042/0.5507, allocations: 247.6 kB / 0.8199 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.5508, allocations: 52.19 kB / 0.8199 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.551, allocations: 106.4 kB / 0.82 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.5512, allocations: 92.2 kB / 0.8201 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.007e-05/0.5512, allocations: 24.12 kB / 0.8201 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.881e-05/0.5513, allocations: 43.12 kB / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.817e-05/0.5513, allocations: 35.53 kB / 0.8202 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.877e-05/0.5514, allocations: 90.27 kB / 0.8203 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003653/0.5518, allocations: 241.2 kB / 0.8205 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.5518, allocations: 0 / 0.8205 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.326e-06/0.5518, allocations: 5.156 kB / 0.8205 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.555e-06/0.5518, allocations: 0.5625 kB / 0.8205 GB, free: 15.35 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006094/0.5524, allocations: 422.2 kB / 0.8209 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.5525, allocations: 13.09 kB / 0.8209 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.878e-05/0.5525, allocations: 42.42 kB / 0.821 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.898e-05/0.5526, allocations: 17.59 kB / 0.821 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000429/0.553, allocations: 181.9 kB / 0.8212 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.553, allocations: 18.66 kB / 0.8212 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.293e-05/0.5531, allocations: 22.66 kB / 0.8212 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.5533, allocations: 142.6 kB / 0.8214 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.5533, allocations: 0 / 0.8214 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.5533, allocations: 6.219 kB / 0.8214 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.5533, allocations: 0 / 0.8214 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.635e-05/0.5534, allocations: 68.55 kB / 0.8214 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004791/0.5539, allocations: 382 kB / 0.8218 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.554, allocations: 84.06 kB / 0.8219 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.232e-05/0.5541, allocations: 34.55 kB / 0.8219 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.5541, allocations: 8.672 kB / 0.8219 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002549/0.5543, allocations: 135.3 kB / 0.822 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.834e-06/0.5543, allocations: 0 / 0.822 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0003333/0.5547, allocations: 241.9 kB / 0.8223 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.5547, allocations: 62 kB / 0.8223 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.109e-05/0.5548, allocations: 141 kB / 0.8225 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.5548, allocations: 34.3 kB / 0.8225 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.889e-05/0.5549, allocations: 103.9 kB / 0.8226 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.5549, allocations: 38.89 kB / 0.8226 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.439e-05/0.555, allocations: 74.39 kB / 0.8227 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.856e-05/0.5551, allocations: 319 kB / 0.823 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.5552, allocations: 128.2 kB / 0.8231 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.5553, allocations: 186.6 kB / 0.8233 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.5555, allocations: 217.4 kB / 0.8235 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5555, allocations: 0 / 0.8235 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003485/0.5559, allocations: 379 kB / 0.8239 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.552e-05/0.5559, allocations: 71.66 kB / 0.8239 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.5559, allocations: 2.156 kB / 0.8239 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.5559, allocations: 7.281 kB / 0.824 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.313e-05/0.556, allocations: 10.45 kB / 0.824 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.556, allocations: 3.562 kB / 0.824 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.5562, allocations: 53.05 kB / 0.824 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.5562, allocations: 26.92 kB / 0.824 GB, free: 12.65 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,truCleFalIni.y,truCleTruIni.y,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,swiCleInp.y,falCleFalIni.y,falCleTruIni.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tru.y,fal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 2 * 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.57e-05/0.5563, allocations: 132.5 kB / 0.8242 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.5563, allocations: 15.11 kB / 0.8242 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.974e-05/0.5563, allocations: 12.27 kB / 0.8242 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.5563, allocations: 6.562 kB / 0.8242 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.5563, allocations: 0 / 0.8242 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.5563, allocations: 1.453 kB / 0.8242 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000372/0.5567, allocations: 459.9 kB / 0.8246 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.5567, allocations: 4 kB / 0.8246 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.218e-06/0.5567, allocations: 2.594 kB / 0.8246 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5567, allocations: 1.406 kB / 0.8246 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.5567, allocations: 5.125 kB / 0.8247 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.5567, allocations: 1.125 kB / 0.8247 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5567, allocations: 0 / 0.8247 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.5569, allocations: 295.8 kB / 0.8249 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.221e-05/0.557, allocations: 12.06 kB / 0.8249 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.557, allocations: 8.5 kB / 0.825 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.957e-05/0.557, allocations: 3.172 kB / 0.825 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.5571, allocations: 14.95 kB / 0.825 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.5571, allocations: 14.89 kB / 0.825 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.242e-05/0.5571, allocations: 101 kB / 0.8251 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5571, allocations: 0 / 0.8251 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002151/0.5573, allocations: 48.34 kB / 0.8251 GB, free: 11.87 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: 16 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0004428/0.5578, allocations: 0.831 MB / 0.8259 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00033/0.5581, allocations: 330.3 kB / 0.8263 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5581, allocations: 0.5 kB / 0.8263 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.111e-05/0.5582, allocations: 69.27 kB / 0.8263 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.5584, allocations: 24.06 kB / 0.8263 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.5605, allocations: 2.294 MB / 0.8286 GB, free: 8.961 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.153e-05/0.5606, allocations: 99.23 kB / 0.8287 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.023e-05/0.5606, allocations: 11.72 kB / 0.8287 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.781e-05/0.5606, allocations: 32.61 kB / 0.8287 GB, free: 8.863 MB / 0.6198 GB Notification: Performance of SimCode: time 6.62e-07/0.5606, allocations: 0 / 0.8287 GB, free: 8.863 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02676/0.5874, allocations: 4.383 MB / 0.833 GB, free: 7.758 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.774/7.361, allocations: 8.156 kB / 0.833 GB, free: 7.758 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Latch_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Latch.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.346010538283736] Failed to read output from testmodel.py, exit status != 0: 7.4390327809378505 7.4499042 6.895992361 Calling exit ...