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.001292/0.001292, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.001453/0.001453, allocations: 212.3 kB / 23.03 MB, free: 4.426 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.8937/0.8937, allocations: 134 MB / 447.2 MB, free: 9.906 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirProperties",fmuType="cs",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.001921/0.001921, allocations: 59.25 kB / 0.6193 GB, free: 6.855 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1701, allocations: 85.92 MB / 0.7032 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.5391/0.7092, allocations: 131 MB / 0.8311 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004283/0.7135, allocations: 3.283 MB / 0.8343 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.7136, allocations: 2.25 kB / 0.8343 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003411/0.7139, allocations: 62.47 kB / 0.8343 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003648/0.7143, allocations: 125.9 kB / 0.8345 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002792/0.7171, allocations: 1.069 MB / 0.8355 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004072/0.7175, allocations: 324.8 kB / 0.8358 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.631e-05/0.7176, allocations: 10.06 kB / 0.8358 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004237/0.718, allocations: 195.9 kB / 0.836 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.7182, allocations: 137.7 kB / 0.8361 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/0.7182, allocations: 14.56 kB / 0.8362 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001841/0.7201, allocations: 1.067 MB / 0.8372 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.7202, allocations: 68.2 kB / 0.8373 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.7203, allocations: 102.4 kB / 0.8374 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.7216, allocations: 0.612 MB / 0.838 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.7216, allocations: 0 / 0.838 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7216, allocations: 0.8438 kB / 0.838 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.7216, allocations: 0 / 0.838 GB, free: 8.695 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.001377/0.723, allocations: 0.523 MB / 0.8385 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.723, allocations: 9.938 kB / 0.8385 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.165e-05/0.723, allocations: 6.812 kB / 0.8385 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.817e-05/0.7231, allocations: 57.89 kB / 0.8385 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/0.7244, allocations: 139.3 kB / 0.8387 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.7247, allocations: 172.3 kB / 0.8388 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.7247, allocations: 12.84 kB / 0.8389 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.775e-05/0.7248, allocations: 17.16 kB / 0.8389 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007408/0.7255, allocations: 0.593 MB / 0.8394 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.7255, allocations: 2.188 kB / 0.8394 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.778e-05/0.7256, allocations: 10.75 kB / 0.8395 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.325e-05/0.7256, allocations: 14.67 kB / 0.8395 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005623/0.7262, allocations: 329.5 kB / 0.8398 GB, free: 7.176 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.00171/0.7279, allocations: 0.9463 MB / 0.8407 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000512/0.7284, allocations: 179 kB / 0.8409 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.7285, allocations: 84.75 kB / 0.841 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003868/0.7289, allocations: 75.91 kB / 0.841 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/0.7289, allocations: 42.5 kB / 0.8411 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=21): time 2.034e-06/0.7289, allocations: 0 / 0.8411 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.0007229/0.7297, allocations: 258.5 kB / 0.8413 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.7297, allocations: 55.41 kB / 0.8414 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.73, allocations: 204.4 kB / 0.8416 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.419e-05/0.73, allocations: 37.69 kB / 0.8416 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.7301, allocations: 144.2 kB / 0.8417 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.144e-05/0.7302, allocations: 79.31 kB / 0.8418 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.7303, allocations: 53.66 kB / 0.8419 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.7304, allocations: 330.8 kB / 0.8422 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.7306, allocations: 68.22 kB / 0.8423 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.7308, allocations: 164.7 kB / 0.8424 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003511/0.7312, allocations: 249.1 kB / 0.8426 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.7312, allocations: 7.938 kB / 0.8427 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005469/0.7317, allocations: 284 kB / 0.8429 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.7318, allocations: 8 kB / 0.8429 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.7318, allocations: 4 kB / 0.8429 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.489e-05/0.7318, allocations: 7.938 kB / 0.8429 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000338/0.7321, allocations: 52.03 kB / 0.843 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.7322, allocations: 10.23 kB / 0.843 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.7324, allocations: 32.14 kB / 0.843 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/0.7324, allocations: 16 kB / 0.843 GB, free: 3.621 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.0001509/0.7326, allocations: 137.7 kB / 0.8432 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.7327, allocations: 23.89 kB / 0.8432 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005445/0.7333, allocations: 288.9 kB / 0.8435 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.7333, allocations: 0 / 0.8435 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.7333, allocations: 0 / 0.8435 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.7333, allocations: 3.938 kB / 0.8435 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008575/0.7341, allocations: 0.5454 MB / 0.844 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.7341, allocations: 0 / 0.844 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.7343, allocations: 39.98 kB / 0.8441 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.7343, allocations: 0 / 0.8441 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.7343, allocations: 4 kB / 0.8441 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.7343, allocations: 0 / 0.8441 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.7343, allocations: 7.984 kB / 0.8441 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006211/0.735, allocations: 349.5 kB / 0.8444 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.7351, allocations: 51.75 kB / 0.8444 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.214e-05/0.7351, allocations: 0 / 0.8444 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.7354, allocations: 12 kB / 0.8445 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.7354, allocations: 23.91 kB / 0.8445 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.801e-05/0.7355, allocations: 15.98 kB / 0.8445 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000188/0.7357, allocations: 152.3 kB / 0.8446 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6.1e-08/0.7357, allocations: 0 / 0.8446 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006295/0.7363, allocations: 119.7 kB / 0.8448 GB, free: 1.785 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.001344/0.7376, allocations: 1.008 MB / 0.8457 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004053/0.738, allocations: 195.7 kB / 0.8459 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.738, allocations: 0 / 0.8459 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.7382, allocations: 98.38 kB / 0.846 GB, free: 468 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006421/0.7388, allocations: 96.28 kB / 0.8461 GB, free: 376 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003483/0.7423, allocations: 2.528 MB / 0.8486 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.7425, allocations: 124.4 kB / 0.8487 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002602/0.7427, allocations: 59.06 kB / 0.8488 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.7428, allocations: 59.41 kB / 0.8488 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of SimCode: time 7.42e-07/0.7428, allocations: 0 / 0.8488 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0325/0.7753, allocations: 8.482 MB / 0.8571 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.35, allocations: 4.062 kB / 0.8571 GB, free: 5.199 MB / 0.6231 GB " [Timeout remaining time 647] (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: 16.17370927799493] Failed to read output from testmodel.py, exit status != 0: 12.510978210018948 12.528999992 11.803695559 Calling exit ...