Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamProperties.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.0009769/0.0009769, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001423/0.001423, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.9429/0.9429, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7755/0.7755, allocations: 154.5 MB / 413.7 MB, free: 0.8438 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.SteamProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.165e-06/2.165e-06, allocations: 0 / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.621e-05, allocations: 5.234 kB / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.4308/0.4309, allocations: 119.6 MB / 0.7349 GB, free: 26.61 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01819/0.449, allocations: 20.23 MB / 0.7546 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.4492, allocations: 0 / 0.7546 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003227/0.4495, allocations: 54.77 kB / 0.7547 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002952/0.4498, allocations: 90 kB / 0.7548 GB, free: 14 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.01816/0.468, allocations: 7.018 MB / 0.7616 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003919/0.4684, allocations: 257 kB / 0.7619 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.185e-05/0.4684, allocations: 12.02 kB / 0.7619 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003281/0.4688, allocations: 186.6 kB / 0.7621 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.4689, allocations: 79.31 kB / 0.7621 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.4689, allocations: 7.344 kB / 0.7621 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01919/0.4881, allocations: 11.12 MB / 0.773 GB, free: 8.582 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.4883, allocations: 43.88 kB / 0.773 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002105/0.4885, allocations: 72.66 kB / 0.7731 GB, free: 8.523 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01923/0.5077, allocations: 8.358 MB / 0.7813 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.5077, allocations: 4 kB / 0.7813 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.815e-06/0.5077, allocations: 0 / 0.7813 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.5077, allocations: 0 / 0.7813 GB, free: 2.73 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.005162/0.5129, allocations: 1.162 MB / 0.7824 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.5129, allocations: 12 kB / 0.7824 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.795e-05/0.513, allocations: 47.92 kB / 0.7825 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005992/0.5136, allocations: 93 kB / 0.7826 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.5139, allocations: 168.9 kB / 0.7827 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.5139, allocations: 10.62 kB / 0.7827 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.5139, allocations: 14.94 kB / 0.7827 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007013/0.5146, allocations: 0.6726 MB / 0.7834 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.5146, allocations: 0 / 0.7834 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.5146, allocations: 10.66 kB / 0.7834 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.5147, allocations: 5.25 kB / 0.7834 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006663/0.5153, allocations: 0.6083 MB / 0.784 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007569/0.5161, allocations: 0.7343 MB / 0.7847 GB, free: 128 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005324/0.5166, allocations: 233.7 kB / 0.7849 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.5167, allocations: 61.77 kB / 0.785 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04469/0.5614, allocations: 23.36 MB / 0.8078 GB, free: 1.031 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.5614, allocations: 39.22 kB / 0.8079 GB, free: 0.9844 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=25): time 2.004e-06/0.5614, allocations: 0 / 0.8079 GB, free: 0.9844 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25): time 0.00109/0.5625, allocations: 426 kB / 0.8083 GB, free: 0.5664 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.5626, allocations: 58.31 kB / 0.8083 GB, free: 0.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.5627, allocations: 144 kB / 0.8085 GB, free: 360 kB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.5627, allocations: 33.7 kB / 0.8085 GB, free: 320 kB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.715e-05/0.5628, allocations: 108.5 kB / 0.8086 GB, free: 208 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.897e-05/0.5628, allocations: 87.22 kB / 0.8087 GB, free: 120 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.95e-05/0.5629, allocations: 89.55 kB / 0.8088 GB, free: 24 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.563, allocations: 330.8 kB / 0.8091 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.5632, allocations: 79.95 kB / 0.8092 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.5633, allocations: 125.1 kB / 0.8093 GB, free: 15.47 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/0.5636, allocations: 213 kB / 0.8095 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.5636, allocations: 0 / 0.8095 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004832/0.5641, allocations: 298.2 kB / 0.8098 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.5641, allocations: 4 kB / 0.8098 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.5641, allocations: 4 kB / 0.8098 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.5642, allocations: 0 / 0.8098 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.5643, allocations: 83.88 kB / 0.8098 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.5644, allocations: 3.984 kB / 0.8099 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.614e-05/0.5644, allocations: 23.84 kB / 0.8099 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.5645, allocations: 23.98 kB / 0.8099 GB, free: 14.81 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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.0001064/0.5646, allocations: 138.8 kB / 0.81 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.5647, allocations: 15.91 kB / 0.81 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001906/0.5666, allocations: 2.497 MB / 0.8125 GB, free: 12.15 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.5666, allocations: 15.92 kB / 0.8125 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.5666, allocations: 4 kB / 0.8125 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.5666, allocations: 3.984 kB / 0.8125 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002503/0.5691, allocations: 3.583 MB / 0.816 GB, free: 8.438 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.5691, allocations: 0 / 0.816 GB, free: 8.438 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.5692, allocations: 47.95 kB / 0.8161 GB, free: 8.391 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.5692, allocations: 4 kB / 0.8161 GB, free: 8.387 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.5693, allocations: 8 kB / 0.8161 GB, free: 8.379 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.5693, allocations: 4 kB / 0.8161 GB, free: 8.375 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5693, allocations: 3.938 kB / 0.8161 GB, free: 8.371 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005131/0.5698, allocations: 0.5667 MB / 0.8166 GB, free: 7.793 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 7.36e-05/0.5699, allocations: 59.62 kB / 0.8167 GB, free: 7.734 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.5699, allocations: 8.75 kB / 0.8167 GB, free: 7.727 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.57, allocations: 8 kB / 0.8167 GB, free: 7.719 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.57, allocations: 19.91 kB / 0.8167 GB, free: 7.699 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.57, allocations: 15.98 kB / 0.8167 GB, free: 7.684 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 5.092e-05/0.5701, allocations: 105.9 kB / 0.8168 GB, free: 7.582 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7e-08/0.5701, allocations: 8 kB / 0.8168 GB, free: 7.574 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.005948/0.576, allocations: 1.711 MB / 0.8185 GB, free: 5.859 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.006896/0.5829, allocations: 3.203 MB / 0.8216 GB, free: 2.637 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0005022/0.5834, allocations: 321 kB / 0.8219 GB, free: 2.32 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.5834, allocations: 0 / 0.8219 GB, free: 2.32 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.5836, allocations: 189.5 kB / 0.8221 GB, free: 2.137 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.584, allocations: 68.12 kB / 0.8222 GB, free: 2.07 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004009/0.588, allocations: 3.084 MB / 0.8252 GB, free: 14.87 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.5882, allocations: 152.7 kB / 0.8253 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004016/0.5886, allocations: 413.2 kB / 0.8257 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.5887, allocations: 104.4 kB / 0.8258 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of SimCode: time 1.242e-06/0.5887, allocations: 0 / 0.8258 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09001/0.6787, allocations: 64.53 MB / 0.8889 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.26/10.93, allocations: 2.031 kB / 0.8889 GB, free: 13.79 MB / 0.7448 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_SteamProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.933367521502078] Failed to read output from testmodel.py, exit status != 0: 11.058474746532738 11.066753354 10.556870449 Calling exit ...