Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.AirProperties.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.00128/0.00128, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001696/0.001696, allocations: 207.6 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.42/1.42, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8241/0.8241, allocations: 134 MB / 446.4 MB, free: 9.938 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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.Media.Examples.AirProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirProperties",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.003144/0.003144, allocations: 70.73 kB / 0.6185 GB, free: 6.844 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1877, allocations: 85.91 MB / 0.7024 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.5408/0.7285, allocations: 131 MB / 0.8304 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004867/0.7333, allocations: 3.293 MB / 0.8336 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002359/0.7336, allocations: 2.719 kB / 0.8336 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005084/0.7341, allocations: 59.31 kB / 0.8337 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005499/0.7346, allocations: 133.8 kB / 0.8338 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003125/0.7378, allocations: 1.069 MB / 0.8348 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004702/0.7382, allocations: 319.9 kB / 0.8351 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.893e-05/0.7383, allocations: 10.81 kB / 0.8352 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005188/0.7388, allocations: 206.1 kB / 0.8354 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002618/0.7391, allocations: 137.7 kB / 0.8355 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.547e-05/0.7391, allocations: 10.66 kB / 0.8355 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002212/0.7413, allocations: 1.045 MB / 0.8365 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.7415, allocations: 69.38 kB / 0.8366 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001937/0.7417, allocations: 98.23 kB / 0.8367 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001805/0.7435, allocations: 0.6262 MB / 0.8373 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.7435, allocations: 0 / 0.8373 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.485e-06/0.7435, allocations: 0 / 0.8373 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.486e-05/0.7435, allocations: 3.984 kB / 0.8373 GB, free: 8.855 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001518/0.745, allocations: 0.5156 MB / 0.8378 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.7451, allocations: 8.25 kB / 0.8378 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.42e-05/0.7452, allocations: 57.36 kB / 0.8379 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001302/0.7465, allocations: 134.2 kB / 0.838 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.7468, allocations: 171.1 kB / 0.8381 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.7468, allocations: 16.69 kB / 0.8382 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.7468, allocations: 14.56 kB / 0.8382 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007296/0.7476, allocations: 0.5918 MB / 0.8388 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.7476, allocations: 0 / 0.8388 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.7476, allocations: 14.66 kB / 0.8388 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-05/0.7476, allocations: 17.36 kB / 0.8388 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005846/0.7482, allocations: 318.4 kB / 0.8391 GB, free: 7.309 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.7501, allocations: 0.9502 MB / 0.84 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005042/0.7506, allocations: 183 kB / 0.8402 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.7508, allocations: 72.81 kB / 0.8403 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003713/0.7511, allocations: 79.88 kB / 0.8403 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.7512, allocations: 46.53 kB / 0.8404 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=21): time 1.673e-06/0.7512, allocations: 0 / 0.8404 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.0007286/0.7519, allocations: 262.2 kB / 0.8406 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.7519, allocations: 55.41 kB / 0.8407 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.7522, allocations: 208.3 kB / 0.8409 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.682e-05/0.7522, allocations: 33.7 kB / 0.8409 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.7523, allocations: 140.2 kB / 0.841 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.07e-05/0.7524, allocations: 87.3 kB / 0.8411 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.7525, allocations: 49.7 kB / 0.8412 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.7526, allocations: 326.8 kB / 0.8415 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.7528, allocations: 72.22 kB / 0.8416 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.753, allocations: 161.7 kB / 0.8417 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003769/0.7534, allocations: 252.5 kB / 0.842 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.7534, allocations: 4 kB / 0.842 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005933/0.754, allocations: 292 kB / 0.8422 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.754, allocations: 10.19 kB / 0.8422 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.754, allocations: 4 kB / 0.8422 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.754, allocations: 11.98 kB / 0.8423 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.7543, allocations: 51.86 kB / 0.8423 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.7543, allocations: 4 kB / 0.8423 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.7545, allocations: 33.11 kB / 0.8423 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.312e-05/0.7545, allocations: 19.98 kB / 0.8424 GB, free: 3.742 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001582/0.7547, allocations: 133.7 kB / 0.8425 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.7548, allocations: 32.02 kB / 0.8425 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000563/0.7554, allocations: 276.9 kB / 0.8428 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.7554, allocations: 7.938 kB / 0.8428 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.7554, allocations: 0 / 0.8428 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.7554, allocations: 0 / 0.8428 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008644/0.7563, allocations: 0.5419 MB / 0.8433 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.7563, allocations: 1.938 kB / 0.8433 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.7565, allocations: 31.98 kB / 0.8434 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.7565, allocations: 0 / 0.8434 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.7565, allocations: 7.938 kB / 0.8434 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.7565, allocations: 4.062 kB / 0.8434 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7565, allocations: 0 / 0.8434 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005729/0.7571, allocations: 353.8 kB / 0.8437 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.7572, allocations: 51.8 kB / 0.8438 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.194e-05/0.7573, allocations: 4 kB / 0.8438 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.7575, allocations: 11.94 kB / 0.8438 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.7575, allocations: 19.91 kB / 0.8438 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/0.7576, allocations: 8 kB / 0.8438 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000155/0.7577, allocations: 156.3 kB / 0.8439 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7577, allocations: 4 kB / 0.8439 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005231/0.7582, allocations: 127.8 kB / 0.8441 GB, free: 1.906 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001264/0.7595, allocations: 0.9985 MB / 0.845 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000398/0.7599, allocations: 198.2 kB / 0.8452 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.7599, allocations: 7.938 kB / 0.8452 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.7601, allocations: 95.88 kB / 0.8453 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006476/0.7607, allocations: 98.16 kB / 0.8454 GB, free: 500 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003345/0.7641, allocations: 2.511 MB / 0.8479 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.7642, allocations: 128.4 kB / 0.848 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002646/0.7645, allocations: 50.27 kB / 0.848 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.7646, allocations: 63.41 kB / 0.8481 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of SimCode: time 8.12e-07/0.7646, allocations: 0 / 0.8481 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03986/0.8045, allocations: 8.787 MB / 0.8567 GB, free: 5.012 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/12.01, allocations: 9.062 kB / 0.8567 GB, free: 5.004 MB / 0.6231 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Media.Examples.AirProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_AirProperties.fmu > IDEAS_IDEAS.Media.Examples.AirProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.479375501163304] Failed to read output from testmodel.py, exit status != 0: 12.116531249135733 12.14362997 11.394976967 Calling exit ...