Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.AddParameter.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.0007897/0.0007897, 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.0008677/0.0008677, 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.9139/0.9139, allocations: 230.6 MB / 256 MB, free: 9.582 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.03642/0.03642, allocations: 12.2 MB / 324.6 MB, free: 6.066 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.0003951/0.0003951, allocations: 27.94 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.698/1.698, allocations: 353.9 MB / 0.7787 GB, free: 4.602 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.AddParameter,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Integers.Validation.AddParameter,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_AddParameter",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.00158/0.00158, allocations: 116 kB / 1.06 GB, free: 24.94 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2275, allocations: 134.9 MB / 1.192 GB, free: 7.523 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001428/0.2289, allocations: 0.6833 MB / 1.192 GB, free: 6.844 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007478/0.2296, allocations: 0.8669 MB / 1.193 GB, free: 5.965 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.483e-05/0.2297, allocations: 0 / 1.193 GB, free: 5.965 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.777e-05/0.2297, allocations: 0 / 1.193 GB, free: 5.965 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.868e-05/0.2298, allocations: 3.938 kB / 1.193 GB, free: 5.961 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000145/0.2299, allocations: 27.91 kB / 1.193 GB, free: 5.934 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 7.199e-05/0.23, allocations: 39.92 kB / 1.193 GB, free: 5.895 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.2301, allocations: 11.97 kB / 1.193 GB, free: 5.883 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.267e-05/0.2302, allocations: 27.92 kB / 1.193 GB, free: 5.855 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.831e-05/0.2302, allocations: 19.92 kB / 1.193 GB, free: 5.836 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.2302, allocations: 4 kB / 1.193 GB, free: 5.832 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.2303, allocations: 4 kB / 1.193 GB, free: 5.828 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.243e-05/0.2303, allocations: 11.92 kB / 1.193 GB, free: 5.816 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.326e-05/0.2303, allocations: 23.91 kB / 1.193 GB, free: 5.793 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.2304, allocations: 44.09 kB / 1.193 GB, free: 5.75 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.2304, allocations: 4 kB / 1.193 GB, free: 5.746 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2304, allocations: 0 / 1.193 GB, free: 5.746 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.2304, allocations: 3.938 kB / 1.193 GB, free: 5.742 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004251/0.2309, allocations: 282.2 kB / 1.194 GB, free: 5.438 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.2309, allocations: 12.03 kB / 1.194 GB, free: 5.426 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.989e-05/0.2309, allocations: 30.75 kB / 1.194 GB, free: 5.387 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.682e-05/0.231, allocations: 8.891 kB / 1.194 GB, free: 5.379 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.237e-05/0.2311, allocations: 118.5 kB / 1.194 GB, free: 5.238 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.2311, allocations: 4.375 kB / 1.194 GB, free: 5.234 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.2311, allocations: 8.125 kB / 1.194 GB, free: 5.227 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.2312, allocations: 61.66 kB / 1.194 GB, free: 5.16 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.2312, allocations: 0 / 1.194 GB, free: 5.16 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.2312, allocations: 0 / 1.194 GB, free: 5.16 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.2313, allocations: 8 kB / 1.194 GB, free: 5.152 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.2314, allocations: 51.89 kB / 1.194 GB, free: 5.102 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.2317, allocations: 251.9 kB / 1.194 GB, free: 4.812 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.2319, allocations: 58.55 kB / 1.194 GB, free: 4.746 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.257e-05/0.2319, allocations: 32.91 kB / 1.194 GB, free: 4.711 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.2319, allocations: 3.938 kB / 1.194 GB, free: 4.707 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.232, allocations: 42.5 kB / 1.194 GB, free: 4.656 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.232, allocations: 0 / 1.194 GB, free: 4.656 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0002542/0.2322, allocations: 105.6 kB / 1.194 GB, free: 4.547 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.2323, allocations: 51.41 kB / 1.194 GB, free: 4.484 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.368e-05/0.2323, allocations: 113.8 kB / 1.195 GB, free: 4.363 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002683/0.2326, allocations: 25.7 kB / 1.195 GB, free: 4.332 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.886e-05/0.2326, allocations: 92.08 kB / 1.195 GB, free: 4.238 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.2326, allocations: 7.953 kB / 1.195 GB, free: 4.23 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/0.2327, allocations: 21.72 kB / 1.195 GB, free: 4.203 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.443e-05/0.2327, allocations: 318.8 kB / 1.195 GB, free: 3.883 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.851e-05/0.2328, allocations: 19.98 kB / 1.195 GB, free: 3.863 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.137e-05/0.2329, allocations: 31.91 kB / 1.195 GB, free: 3.832 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.233, allocations: 52.81 kB / 1.195 GB, free: 3.777 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.233, allocations: 0 / 1.195 GB, free: 3.777 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001383/0.2331, allocations: 85.61 kB / 1.195 GB, free: 3.688 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.2331, allocations: 5.875 kB / 1.195 GB, free: 3.684 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2331, allocations: 11.92 kB / 1.195 GB, free: 3.672 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.2331, allocations: 0 / 1.195 GB, free: 3.672 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.064e-05/0.2332, allocations: 15.98 kB / 1.195 GB, free: 3.656 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.2332, allocations: 0 / 1.195 GB, free: 3.656 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.267e-05/0.2333, allocations: 7.938 kB / 1.195 GB, free: 3.648 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.2333, allocations: 3.938 kB / 1.195 GB, free: 3.645 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,addPar.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.505e-05/0.2333, allocations: 117.8 kB / 1.195 GB, free: 3.52 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.515e-05/0.2333, allocations: 12 kB / 1.195 GB, free: 3.508 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.052e-05/0.2334, allocations: 4 kB / 1.195 GB, free: 3.496 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2334, allocations: 0 / 1.195 GB, free: 3.496 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2334, allocations: 0 / 1.195 GB, free: 3.496 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2334, allocations: 0 / 1.195 GB, free: 3.496 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.2335, allocations: 152.7 kB / 1.196 GB, free: 3.305 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2335, allocations: 0 / 1.196 GB, free: 3.305 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.676e-05/0.2335, allocations: 11.98 kB / 1.196 GB, free: 3.293 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2335, allocations: 0 / 1.196 GB, free: 3.293 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.2335, allocations: 8 kB / 1.196 GB, free: 3.285 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.2335, allocations: 0 / 1.196 GB, free: 3.285 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2335, allocations: 4 kB / 1.196 GB, free: 3.281 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.2337, allocations: 183.4 kB / 1.196 GB, free: 3.086 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.167e-05/0.2337, allocations: 7.953 kB / 1.196 GB, free: 3.078 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.2337, allocations: 3.938 kB / 1.196 GB, free: 3.074 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.443e-05/0.2338, allocations: 7.984 kB / 1.196 GB, free: 3.066 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.2338, allocations: 11.98 kB / 1.196 GB, free: 3.055 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.2338, allocations: 0 / 1.196 GB, free: 3.055 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.38e-05/0.2339, allocations: 103.4 kB / 1.196 GB, free: 2.953 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.2339, allocations: 4 kB / 1.196 GB, free: 2.949 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001495/0.234, allocations: 4 kB / 1.196 GB, free: 2.945 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (addPar.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0003432/0.2344, allocations: 0.7089 MB / 1.197 GB, free: 2.211 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001581/0.2345, allocations: 55.89 kB / 1.197 GB, free: 2.156 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2345, allocations: 0 / 1.197 GB, free: 2.156 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.694e-05/0.2346, allocations: 35.97 kB / 1.197 GB, free: 2.121 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.2348, allocations: 4 kB / 1.197 GB, free: 2.117 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000999/0.2358, allocations: 1.328 MB / 1.198 GB, free: 0.7109 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.427e-05/0.2359, allocations: 67.33 kB / 1.198 GB, free: 0.625 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.833e-05/0.2359, allocations: 8.25 kB / 1.198 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.643e-05/0.2359, allocations: 15.44 kB / 1.198 GB, free: 0.6016 MB / 0.823 GB Notification: Performance of SimCode: time 6.11e-07/0.2359, allocations: 0 / 1.198 GB, free: 0.6016 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01563/0.2516, allocations: 2.418 MB / 1.2 GB, free: 14.32 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.6/6.852, allocations: 6.406 kB / 1.2 GB, free: 14.32 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_AddParameter_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_AddParameter.fmu > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.141499061137438] Failed to read output from testmodel.py, exit status != 0: 6.931482873857021 6.943155346 6.710211047 Calling exit ...