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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004482/0.004482, allocations: 99.8 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001312, allocations: 193 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8396/0.8396, allocations: 135.6 MB / 426.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 68.52 kB / 0.5857 GB, free: 21.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1518, allocations: 81.03 MB / 0.6649 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.4986/0.6505, allocations: 136.1 MB / 0.7978 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02429/0.6748, allocations: 22.34 MB / 0.8196 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001807/0.6751, allocations: 0 / 0.8196 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002533/0.6753, allocations: 51.58 kB / 0.8197 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002822/0.6756, allocations: 90.52 kB / 0.8198 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01702/0.6927, allocations: 6.68 MB / 0.8263 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004225/0.6931, allocations: 255.8 kB / 0.8265 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.285e-05/0.6932, allocations: 6.656 kB / 0.8265 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002916/0.6935, allocations: 148.8 kB / 0.8267 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.6936, allocations: 86.94 kB / 0.8268 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.6937, allocations: 14.11 kB / 0.8268 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02352/0.7172, allocations: 10.96 MB / 0.8375 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.7174, allocations: 40.02 kB / 0.8375 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.7176, allocations: 78.66 kB / 0.8376 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01902/0.7366, allocations: 6.166 MB / 0.8436 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.7367, allocations: 0 / 0.8436 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.794e-06/0.7367, allocations: 0 / 0.8436 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.7367, allocations: 3.984 kB / 0.8436 GB, free: 7.445 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.004159/0.7409, allocations: 1.226 MB / 0.8448 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.7409, allocations: 17.11 kB / 0.8448 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.252e-05/0.741, allocations: 52.73 kB / 0.8449 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.7421, allocations: 80.77 kB / 0.845 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.7424, allocations: 228.3 kB / 0.8452 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.7424, allocations: 19.88 kB / 0.8452 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.7425, allocations: 16 kB / 0.8452 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.7436, allocations: 445.4 kB / 0.8456 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.7436, allocations: 0 / 0.8456 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.733e-05/0.7437, allocations: 12 kB / 0.8456 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.7437, allocations: 7.984 kB / 0.8456 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.7449, allocations: 0.5892 MB / 0.8462 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.746, allocations: 0.8899 MB / 0.8471 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007878/0.7468, allocations: 256.1 kB / 0.8473 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.7469, allocations: 72.83 kB / 0.8474 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09265/0.8396, allocations: 35.42 MB / 0.882 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.724e-05/0.8397, allocations: 38.56 kB / 0.882 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=25): time 2.865e-06/0.8397, allocations: 0 / 0.882 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25): time 0.001748/0.8415, allocations: 413.9 kB / 0.8824 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/0.8415, allocations: 59.34 kB / 0.8825 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.8417, allocations: 143.5 kB / 0.8826 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.738e-05/0.8417, allocations: 33.7 kB / 0.8827 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.214e-05/0.8418, allocations: 104.5 kB / 0.8828 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.334e-05/0.8419, allocations: 91.2 kB / 0.8828 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.8421, allocations: 85.62 kB / 0.8829 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.8423, allocations: 326.8 kB / 0.8832 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.8424, allocations: 83.94 kB / 0.8833 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.8427, allocations: 125.5 kB / 0.8834 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004572/0.8432, allocations: 221.9 kB / 0.8836 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.8432, allocations: 0 / 0.8836 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007131/0.8439, allocations: 293.3 kB / 0.8839 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.8439, allocations: 8.156 kB / 0.8839 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.8439, allocations: 6 kB / 0.8839 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.8439, allocations: 4 kB / 0.8839 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/0.8443, allocations: 83.88 kB / 0.884 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.8443, allocations: 0 / 0.884 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.8444, allocations: 27.78 kB / 0.8841 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.8e-05/0.8445, allocations: 27.91 kB / 0.8841 GB, free: 10.6 MB / 0.6544 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.0001384/0.8446, allocations: 125.8 kB / 0.8842 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/0.8448, allocations: 15.91 kB / 0.8842 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0028/0.8476, allocations: 2.35 MB / 0.8865 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.8476, allocations: 11.92 kB / 0.8865 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.8476, allocations: 0 / 0.8865 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.8477, allocations: 3.938 kB / 0.8865 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003846/0.8515, allocations: 3.432 MB / 0.8899 GB, free: 4.527 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.8515, allocations: 0 / 0.8899 GB, free: 4.527 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002625/0.8518, allocations: 55.94 kB / 0.8899 GB, free: 4.473 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.8518, allocations: 0 / 0.8899 GB, free: 4.473 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.8518, allocations: 15.94 kB / 0.8899 GB, free: 4.457 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.8518, allocations: 3.812 kB / 0.8899 GB, free: 4.457 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.8519, allocations: 3.938 kB / 0.89 GB, free: 4.453 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008483/0.8527, allocations: 0.5467 MB / 0.8905 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/0.8529, allocations: 140.7 kB / 0.8906 GB, free: 3.734 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/0.8529, allocations: 7.938 kB / 0.8906 GB, free: 3.727 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.8531, allocations: 15.98 kB / 0.8906 GB, free: 3.711 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.8532, allocations: 19.97 kB / 0.8907 GB, free: 3.691 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/0.8532, allocations: 12 kB / 0.8907 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001146/0.8533, allocations: 113 kB / 0.8908 GB, free: 3.57 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8533, allocations: 0 / 0.8908 GB, free: 3.57 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.005123/0.8585, allocations: 1.641 MB / 0.8924 GB, free: 1.926 MB / 0.6544 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.00982/0.8683, allocations: 2.904 MB / 0.8952 GB, free: 14.99 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0007366/0.8691, allocations: 321.3 kB / 0.8955 GB, free: 14.68 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.8691, allocations: 4.312 kB / 0.8955 GB, free: 14.67 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003375/0.8694, allocations: 236.5 kB / 0.8958 GB, free: 14.44 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005724/0.87, allocations: 66.16 kB / 0.8958 GB, free: 14.38 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006115/0.8761, allocations: 3.094 MB / 0.8988 GB, free: 11.17 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.8766, allocations: 0.7661 MB / 0.8996 GB, free: 10.38 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006096/0.8772, allocations: 409.2 kB / 0.9 GB, free: 9.973 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.8774, allocations: 103.4 kB / 0.9001 GB, free: 9.871 MB / 0.67 GB Notification: Performance of SimCode: time 6.61e-07/0.8775, allocations: 0 / 0.9001 GB, free: 9.871 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2126/1.09, allocations: 60.76 MB / 0.9594 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/14.36, allocations: 16.25 kB / 0.9594 GB, free: 13.11 MB / 0.7325 GB (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 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_SteamProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe 2>&1)