Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterProperties.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_8_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_8_Buildings_Media_Examples_WaterProperties",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.001061/0.001061, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001039/0.001039, allocations: 191.8 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.224/1.224, allocations: 205.1 MB / 222.1 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.629/1.629, allocations: 292.3 MB / 0.5486 GB, free: 13.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 67.8 kB / 0.6711 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2342, allocations: 114.6 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006899/0.2412, allocations: 4.735 MB / 0.7876 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002977/0.2442, allocations: 2.679 MB / 0.7902 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.2443, allocations: 0 / 0.7902 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002982/0.2447, allocations: 39.8 kB / 0.7902 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003326/0.245, allocations: 87.48 kB / 0.7903 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.2465, allocations: 452.9 kB / 0.7908 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003257/0.2468, allocations: 224 kB / 0.791 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.648e-05/0.2469, allocations: 13.55 kB / 0.791 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002338/0.2471, allocations: 123.5 kB / 0.7911 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.2473, allocations: 87.67 kB / 0.7912 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.2473, allocations: 4 kB / 0.7912 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007329/0.248, allocations: 355.2 kB / 0.7915 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.469e-05/0.2481, allocations: 47.81 kB / 0.7916 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.241e-05/0.2482, allocations: 75.66 kB / 0.7916 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000718/0.249, allocations: 347.4 kB / 0.792 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.249, allocations: 0 / 0.792 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.413e-06/0.249, allocations: 3.938 kB / 0.792 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.249, allocations: 0 / 0.792 GB, free: 4.539 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000834/0.2498, allocations: 0.5058 MB / 0.7925 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.2499, allocations: 8.031 kB / 0.7925 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.11e-05/0.2499, allocations: 50.73 kB / 0.7925 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001759/0.2501, allocations: 24.73 kB / 0.7925 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.2504, allocations: 208.2 kB / 0.7927 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.2504, allocations: 12.7 kB / 0.7928 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.2504, allocations: 12.38 kB / 0.7928 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/0.2508, allocations: 251.9 kB / 0.793 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.2508, allocations: 7.984 kB / 0.793 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.2508, allocations: 4 kB / 0.793 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.975e-05/0.2509, allocations: 8 kB / 0.793 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004673/0.2514, allocations: 431.4 kB / 0.7934 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.2525, allocations: 0.9487 MB / 0.7944 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.2527, allocations: 155.7 kB / 0.7945 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.2529, allocations: 72.16 kB / 0.7946 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001399/0.2543, allocations: 1.821 MB / 0.7964 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.2543, allocations: 38.56 kB / 0.7964 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/0.2543, allocations: 0 / 0.7964 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0003292/0.2547, allocations: 156.3 kB / 0.7965 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.2547, allocations: 51.41 kB / 0.7966 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.2548, allocations: 167.2 kB / 0.7968 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.2549, allocations: 33.7 kB / 0.7968 GB, free: 15 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 8.04e-05/0.255, allocations: 147.7 kB / 0.7969 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.255, allocations: 51.2 kB / 0.797 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.283e-05/0.2551, allocations: 49.7 kB / 0.797 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.2552, allocations: 322.8 kB / 0.7973 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.19e-05/0.2553, allocations: 43.97 kB / 0.7974 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.2554, allocations: 133.7 kB / 0.7975 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.2557, allocations: 205.5 kB / 0.7977 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2557, allocations: 0 / 0.7977 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003301/0.256, allocations: 217.1 kB / 0.7979 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.256, allocations: 4 kB / 0.7979 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.256, allocations: 4 kB / 0.7979 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.2561, allocations: 12.41 kB / 0.7979 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.2562, allocations: 59.91 kB / 0.798 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.2563, allocations: 7.938 kB / 0.798 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.2564, allocations: 27.69 kB / 0.798 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.2564, allocations: 12 kB / 0.798 GB, free: 13.6 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 29 * Array equations: 1 * 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 9.971e-05/0.2565, allocations: 129.8 kB / 0.7982 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.048e-05/0.2566, allocations: 15.81 kB / 0.7982 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002885/0.2569, allocations: 158.1 kB / 0.7983 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.2569, allocations: 11.92 kB / 0.7983 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2569, allocations: 4 kB / 0.7983 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2569, allocations: 0 / 0.7983 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.2572, allocations: 221.4 kB / 0.7985 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2572, allocations: 3.938 kB / 0.7985 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.662e-05/0.2573, allocations: 16 kB / 0.7986 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.2573, allocations: 4 kB / 0.7986 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.2573, allocations: 7.984 kB / 0.7986 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.2573, allocations: 3.938 kB / 0.7986 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2573, allocations: 0 / 0.7986 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.2576, allocations: 223.5 kB / 0.7988 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.658e-05/0.2577, allocations: 104.9 kB / 0.7989 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.2577, allocations: 7.984 kB / 0.7989 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.2579, allocations: 19.94 kB / 0.7989 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.291e-05/0.2579, allocations: 7.984 kB / 0.7989 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.2579, allocations: 12 kB / 0.7989 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 8.416e-05/0.258, allocations: 115.9 kB / 0.799 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.5e-07/0.258, allocations: 7.938 kB / 0.7991 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003824/0.2584, allocations: 75.94 kB / 0.7991 GB, free: 12.38 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0007411/0.2592, allocations: 0.8253 MB / 0.7999 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002588/0.2595, allocations: 127.1 kB / 0.8001 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2595, allocations: 0 / 0.8001 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.939e-05/0.2595, allocations: 51.84 kB / 0.8001 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004477/0.26, allocations: 60.77 kB / 0.8002 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.2621, allocations: 2.067 MB / 0.8022 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.2624, allocations: 0.7128 MB / 0.8029 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001789/0.2626, allocations: 41.81 kB / 0.8029 GB, free: 8.273 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.965e-05/0.2626, allocations: 47.42 kB / 0.803 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of SimCode: time 2.61e-07/0.2627, allocations: 4 kB / 0.803 GB, free: 8.223 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2895/0.5521, allocations: 5.049 MB / 0.8079 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002769/0.5525, allocations: 204.6 kB / 0.8081 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.03/2.583, allocations: 0 / 0.8081 GB, free: 3.035 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Examples_WaterProperties.fmu > Buildings_8_Buildings.Media.Examples.WaterProperties.pipe 2>&1)