Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Equal.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.0007039/0.0007039, allocations: 101.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.0007522/0.0007522, allocations: 209.2 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.9557/0.9557, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03873/0.03873, allocations: 12.19 MB / 324.6 MB, free: 6.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004774/0.0004774, allocations: 35.88 kB / 384.1 MB, free: 10.49 MB / 314.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.69/1.69, allocations: 353.8 MB / 0.7787 GB, free: 4.535 MB / 0.5105 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.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(AixLib.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.00141/0.00141, allocations: 123.1 kB / 1.06 GB, free: 24.82 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2308, allocations: 134.9 MB / 1.192 GB, free: 7.488 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Equal): time 0.002433/0.2332, allocations: 1.967 MB / 1.194 GB, free: 5.512 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.2346, allocations: 1.286 MB / 1.195 GB, free: 4.223 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.652e-05/0.2347, allocations: 0 / 1.195 GB, free: 4.223 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003603/0.2351, allocations: 167.3 kB / 1.195 GB, free: 4.059 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0003281/0.2354, allocations: 215.2 kB / 1.195 GB, free: 3.848 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004834/0.2359, allocations: 167.5 kB / 1.195 GB, free: 3.684 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002756/0.2362, allocations: 335.1 kB / 1.196 GB, free: 3.355 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.2363, allocations: 37.17 kB / 1.196 GB, free: 3.316 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.2364, allocations: 143.4 kB / 1.196 GB, free: 3.176 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.2366, allocations: 163.3 kB / 1.196 GB, free: 3.016 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.2366, allocations: 16 kB / 1.196 GB, free: 3 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 9.481e-05/0.2367, allocations: 59.98 kB / 1.196 GB, free: 2.941 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 8.574e-05/0.2368, allocations: 99.59 kB / 1.196 GB, free: 2.844 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.345e-05/0.2369, allocations: 95.33 kB / 1.196 GB, free: 2.75 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003142/0.2372, allocations: 390.3 kB / 1.197 GB, free: 2.367 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2372, allocations: 0 / 1.197 GB, free: 2.367 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.334e-06/0.2372, allocations: 0 / 1.197 GB, free: 2.367 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.2372, allocations: 3.984 kB / 1.197 GB, free: 2.363 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006948/0.2379, allocations: 0.5702 MB / 1.197 GB, free: 1.762 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.2379, allocations: 15.97 kB / 1.197 GB, free: 1.746 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.358e-05/0.238, allocations: 34.75 kB / 1.197 GB, free: 1.703 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.45e-05/0.238, allocations: 40.7 kB / 1.197 GB, free: 1.664 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003623/0.2384, allocations: 324.3 kB / 1.198 GB, free: 1.32 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.2384, allocations: 11.98 kB / 1.198 GB, free: 1.309 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.2384, allocations: 8 kB / 1.198 GB, free: 1.301 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.2386, allocations: 115.4 kB / 1.198 GB, free: 1.184 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.2386, allocations: 3.938 kB / 1.198 GB, free: 1.18 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.2386, allocations: 0 / 1.198 GB, free: 1.18 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.2386, allocations: 0 / 1.198 GB, free: 1.18 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.2387, allocations: 67.95 kB / 1.198 GB, free: 1.113 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/0.2393, allocations: 451.6 kB / 1.198 GB, free: 0.6289 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.2395, allocations: 134.7 kB / 1.198 GB, free: 500 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.669e-05/0.2395, allocations: 44.83 kB / 1.198 GB, free: 452 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.2396, allocations: 4 kB / 1.198 GB, free: 448 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.2397, allocations: 129.5 kB / 1.199 GB, free: 308 kB / 0.823 GB Notification: Performance of pre-optimization done (n=13): time 1.183e-06/0.2397, allocations: 0 / 1.199 GB, free: 308 kB / 0.823 GB Notification: Performance of matching and sorting (n=13): time 0.0003365/0.2401, allocations: 229.4 kB / 1.199 GB, free: 72 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.2401, allocations: 51.41 kB / 1.199 GB, free: 8 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003981/0.2405, allocations: 0.5328 MB / 1.199 GB, free: 15.46 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.2405, allocations: 29.7 kB / 1.199 GB, free: 15.43 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 9.978e-05/0.2406, allocations: 176.4 kB / 1.2 GB, free: 15.25 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.2406, allocations: 39.73 kB / 1.2 GB, free: 15.21 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.914e-05/0.2407, allocations: 69.91 kB / 1.2 GB, free: 15.13 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 9.692e-05/0.2408, allocations: 354.7 kB / 1.2 GB, free: 14.78 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.2409, allocations: 100.5 kB / 1.2 GB, free: 14.68 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.2411, allocations: 147.6 kB / 1.2 GB, free: 14.53 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.2413, allocations: 182.5 kB / 1.2 GB, free: 14.34 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2413, allocations: 0 / 1.2 GB, free: 14.34 MB / 0.8387 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003515/0.2416, allocations: 341.2 kB / 1.201 GB, free: 14 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.2416, allocations: 7.938 kB / 1.201 GB, free: 13.99 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2416, allocations: 4 kB / 1.201 GB, free: 13.99 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.2417, allocations: 0 / 1.201 GB, free: 13.99 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.2418, allocations: 55.97 kB / 1.201 GB, free: 13.93 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.2418, allocations: 0 / 1.201 GB, free: 13.93 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.137e-05/0.2419, allocations: 19.94 kB / 1.201 GB, free: 13.91 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.2419, allocations: 12 kB / 1.201 GB, free: 13.9 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001245/0.242, allocations: 181.7 kB / 1.201 GB, free: 13.71 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.2421, allocations: 39.7 kB / 1.201 GB, free: 13.68 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002787/0.2423, allocations: 208.7 kB / 1.201 GB, free: 13.47 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2423, allocations: 4 kB / 1.201 GB, free: 13.46 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2423, allocations: 4 kB / 1.201 GB, free: 13.46 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2423, allocations: 0 / 1.201 GB, free: 13.46 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.2425, allocations: 260.6 kB / 1.201 GB, free: 13.16 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.2425, allocations: 0 / 1.201 GB, free: 13.16 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/0.2426, allocations: 15.98 kB / 1.201 GB, free: 13.15 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.2426, allocations: 3.938 kB / 1.201 GB, free: 13.14 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.2426, allocations: 4 kB / 1.201 GB, free: 13.14 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.2426, allocations: 0 / 1.201 GB, free: 13.14 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2426, allocations: 4 kB / 1.201 GB, free: 13.14 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.2428, allocations: 226.4 kB / 1.202 GB, free: 12.9 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/0.2428, allocations: 51.69 kB / 1.202 GB, free: 12.85 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.2429, allocations: 8 kB / 1.202 GB, free: 12.84 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.553e-05/0.2429, allocations: 11.97 kB / 1.202 GB, free: 12.83 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.508e-05/0.243, allocations: 19.97 kB / 1.202 GB, free: 12.81 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.243, allocations: 8 kB / 1.202 GB, free: 12.8 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 0.0002235/0.2432, allocations: 331.1 kB / 1.202 GB, free: 12.48 MB / 0.8387 GB Notification: Performance of sort global known variables: time 6e-08/0.2432, allocations: 0 / 1.202 GB, free: 12.48 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0004842/0.2437, allocations: 59.92 kB / 1.202 GB, free: 12.42 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001107/0.2448, allocations: 1.101 MB / 1.203 GB, free: 11.48 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002672/0.2451, allocations: 191.8 kB / 1.203 GB, free: 11.29 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2451, allocations: 4 kB / 1.203 GB, free: 11.29 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 8.723e-05/0.2452, allocations: 63.89 kB / 1.204 GB, free: 11.22 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.2454, allocations: 101.6 kB / 1.204 GB, free: 11.14 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/0.248, allocations: 3.225 MB / 1.207 GB, free: 7.82 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.2481, allocations: 195.7 kB / 1.207 GB, free: 7.613 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 0.0001016/0.2482, allocations: 54.95 kB / 1.207 GB, free: 7.559 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.2483, allocations: 111.4 kB / 1.207 GB, free: 7.453 MB / 0.8387 GB Notification: Performance of SimCode: time 6.92e-07/0.2483, allocations: 0 / 1.207 GB, free: 7.453 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0211/0.2694, allocations: 8.34 MB / 1.215 GB, free: 15.21 MB / 0.8543 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.581/6.85, allocations: 11.25 kB / 1.215 GB, free: 15.21 MB / 0.8543 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Equal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Equal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Equal.fmu > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.252713341265917] Failed to read output from testmodel.py, exit status != 0: 6.947484538890421 6.955734174 6.7168451000000005 Calling exit ...