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.0008796/0.0008796, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009892/0.0009892, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9269/0.9269, allocations: 230.6 MB / 256 MB, free: 9.797 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.03733/0.03733, allocations: 12.19 MB / 324.6 MB, free: 6.281 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.0004613/0.0004613, allocations: 31.88 kB / 384.1 MB, free: 10.69 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.681/1.681, allocations: 353.8 MB / 0.7787 GB, free: 3.137 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.001363/0.001363, allocations: 122.9 kB / 1.06 GB, free: 25.03 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2275, allocations: 134.9 MB / 1.192 GB, free: 7.891 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Equal): time 0.002846/0.2303, allocations: 2.052 MB / 1.194 GB, free: 5.828 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001557/0.2319, allocations: 1.374 MB / 1.195 GB, free: 4.453 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001578/0.232, allocations: 11.88 kB / 1.195 GB, free: 4.441 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003728/0.2324, allocations: 163.4 kB / 1.195 GB, free: 4.281 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0004022/0.2328, allocations: 203.2 kB / 1.195 GB, free: 4.082 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.233, allocations: 163.6 kB / 1.196 GB, free: 3.922 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002727/0.2333, allocations: 339 kB / 1.196 GB, free: 3.59 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.2335, allocations: 33.19 kB / 1.196 GB, free: 3.555 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003437/0.2338, allocations: 167.4 kB / 1.196 GB, free: 3.391 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.234, allocations: 163.3 kB / 1.196 GB, free: 3.23 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.234, allocations: 16 kB / 1.196 GB, free: 3.215 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.2341, allocations: 63.95 kB / 1.196 GB, free: 3.152 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 8.029e-05/0.2342, allocations: 91.67 kB / 1.196 GB, free: 3.062 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.2343, allocations: 127.1 kB / 1.197 GB, free: 2.938 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003259/0.2346, allocations: 386.3 kB / 1.197 GB, free: 2.559 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2346, allocations: 4 kB / 1.197 GB, free: 2.555 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2346, allocations: 0 / 1.197 GB, free: 2.555 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.2346, allocations: 0 / 1.197 GB, free: 2.555 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.0007539/0.2354, allocations: 0.5741 MB / 1.198 GB, free: 1.949 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.2354, allocations: 8.031 kB / 1.198 GB, free: 1.941 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.185e-05/0.2355, allocations: 38.75 kB / 1.198 GB, free: 1.895 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.549e-05/0.2355, allocations: 40.69 kB / 1.198 GB, free: 1.855 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000387/0.2359, allocations: 332.1 kB / 1.198 GB, free: 1.508 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.2359, allocations: 8 kB / 1.198 GB, free: 1.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.236, allocations: 12 kB / 1.198 GB, free: 1.488 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.2361, allocations: 109.5 kB / 1.198 GB, free: 1.375 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.2361, allocations: 0 / 1.198 GB, free: 1.375 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.2361, allocations: 4 kB / 1.198 GB, free: 1.371 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.2361, allocations: 0 / 1.198 GB, free: 1.371 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.853e-05/0.2362, allocations: 59.95 kB / 1.198 GB, free: 1.312 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005943/0.2368, allocations: 467.5 kB / 1.199 GB, free: 0.8125 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.237, allocations: 130.7 kB / 1.199 GB, free: 0.6758 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.422e-05/0.2371, allocations: 48.83 kB / 1.199 GB, free: 0.625 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.2371, allocations: 3.984 kB / 1.199 GB, free: 0.6211 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/0.2373, allocations: 119.2 kB / 1.199 GB, free: 0.4922 MB / 0.823 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.2373, allocations: 0 / 1.199 GB, free: 0.4922 MB / 0.823 GB Notification: Performance of matching and sorting (n=13): time 0.0003905/0.2377, allocations: 217.4 kB / 1.199 GB, free: 280 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.2377, allocations: 63.33 kB / 1.199 GB, free: 204 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003861/0.2381, allocations: 0.525 MB / 1.2 GB, free: 15.66 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.2381, allocations: 29.7 kB / 1.2 GB, free: 15.63 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 9.163e-05/0.2382, allocations: 176.4 kB / 1.2 GB, free: 15.45 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.2382, allocations: 31.75 kB / 1.2 GB, free: 15.42 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.942e-05/0.2383, allocations: 73.95 kB / 1.2 GB, free: 15.34 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.2385, allocations: 350.8 kB / 1.2 GB, free: 14.98 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.2386, allocations: 96.52 kB / 1.2 GB, free: 14.89 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.2387, allocations: 131.6 kB / 1.2 GB, free: 14.75 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.2389, allocations: 190.5 kB / 1.201 GB, free: 14.56 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2389, allocations: 0 / 1.201 GB, free: 14.56 MB / 0.8387 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003436/0.2392, allocations: 333.2 kB / 1.201 GB, free: 14.23 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 3.57e-05/0.2393, allocations: 7.938 kB / 1.201 GB, free: 14.22 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2393, allocations: 0 / 1.201 GB, free: 14.22 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.2393, allocations: 4.062 kB / 1.201 GB, free: 14.21 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.2394, allocations: 51.91 kB / 1.201 GB, free: 14.16 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.2394, allocations: 4 kB / 1.201 GB, free: 14.16 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.629e-05/0.2395, allocations: 15.89 kB / 1.201 GB, free: 14.14 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.2395, allocations: 19.98 kB / 1.201 GB, free: 14.12 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.000125/0.2396, allocations: 177.8 kB / 1.201 GB, free: 13.94 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.2397, allocations: 39.7 kB / 1.201 GB, free: 13.9 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002575/0.2399, allocations: 198.5 kB / 1.201 GB, free: 13.71 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2399, allocations: 4 kB / 1.201 GB, free: 13.7 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2399, allocations: 4 kB / 1.201 GB, free: 13.7 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2399, allocations: 3.938 kB / 1.201 GB, free: 13.7 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.2402, allocations: 280.4 kB / 1.202 GB, free: 13.38 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2402, allocations: 0 / 1.202 GB, free: 13.38 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.2402, allocations: 8 kB / 1.202 GB, free: 13.37 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.2402, allocations: 15.86 kB / 1.202 GB, free: 13.36 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.2402, allocations: 0 / 1.202 GB, free: 13.36 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2402, allocations: 0 / 1.202 GB, free: 13.36 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2402, allocations: 0 / 1.202 GB, free: 13.36 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.2404, allocations: 216.8 kB / 1.202 GB, free: 13.12 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.091e-05/0.2405, allocations: 43.69 kB / 1.202 GB, free: 13.08 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.2405, allocations: 4 kB / 1.202 GB, free: 13.08 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.779e-05/0.2405, allocations: 11.98 kB / 1.202 GB, free: 13.07 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/0.2406, allocations: 15.97 kB / 1.202 GB, free: 13.05 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.2406, allocations: 8 kB / 1.202 GB, free: 13.04 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 0.0002235/0.2408, allocations: 327.1 kB / 1.202 GB, free: 12.72 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2408, allocations: 0 / 1.202 GB, free: 12.72 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002465/0.2411, allocations: 59.92 kB / 1.202 GB, free: 12.66 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 (13): * Single equations (assignments): 9 * 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.001211/0.2423, allocations: 1.059 MB / 1.203 GB, free: 11.73 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002941/0.2426, allocations: 191.8 kB / 1.204 GB, free: 11.55 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.2426, allocations: 0 / 1.204 GB, free: 11.55 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 7.686e-05/0.2427, allocations: 55.91 kB / 1.204 GB, free: 11.49 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.2429, allocations: 98.48 kB / 1.204 GB, free: 11.41 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002629/0.2456, allocations: 3.18 MB / 1.207 GB, free: 8.137 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.2458, allocations: 0.7909 MB / 1.208 GB, free: 7.32 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 0.0001791/0.246, allocations: 50.94 kB / 1.208 GB, free: 7.27 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.2461, allocations: 115.4 kB / 1.208 GB, free: 7.16 MB / 0.8387 GB Notification: Performance of SimCode: time 6.21e-07/0.2461, allocations: 0 / 1.208 GB, free: 7.16 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/0.2658, allocations: 7.559 MB / 1.215 GB, free: 15.71 MB / 0.8543 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.631/6.897, allocations: 6.281 kB / 1.215 GB, free: 15.7 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.25403883587569] Failed to read output from testmodel.py, exit status != 0: 6.994462405331433 7.007739031 6.770660581 Calling exit ...