Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_latest_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.001556/0.001556, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.00156/0.00156, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.653/2.653, allocations: 409.2 MB / 0.6838 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003651/0.0003651, allocations: 8 kB / 0.8375 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8485/0.8489, allocations: 146.8 MB / 0.9808 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004849/0.8538, allocations: 3.938 MB / 0.9847 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002406/0.8562, allocations: 2.171 MB / 0.9868 GB, free: 144 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.025e-05/0.8563, allocations: 0 / 0.9868 GB, free: 144 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002702/0.8566, allocations: 43.8 kB / 0.9869 GB, free: 100 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.8568, allocations: 75.81 kB / 0.9869 GB, free: 24 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.8578, allocations: 432.2 kB / 0.9873 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.000194/0.858, allocations: 152.6 kB / 0.9875 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 5.772e-05/0.8581, allocations: 9.562 kB / 0.9875 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.8583, allocations: 99.73 kB / 0.9876 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.8584, allocations: 79.67 kB / 0.9877 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.8584, allocations: 4 kB / 0.9877 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005912/0.859, allocations: 295.6 kB / 0.988 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 6.518e-05/0.8591, allocations: 35.89 kB / 0.988 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.8592, allocations: 53.64 kB / 0.988 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0003383/0.8595, allocations: 213.8 kB / 0.9882 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.8595, allocations: 0 / 0.9882 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8595, allocations: 0 / 0.9882 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.8595, allocations: 0 / 0.9882 GB, free: 14.68 MB / 0.7481 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.0007211/0.8603, allocations: 475.1 kB / 0.9887 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.8603, allocations: 16.02 kB / 0.9887 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.22e-05/0.8604, allocations: 54.48 kB / 0.9888 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.8605, allocations: 23.8 kB / 0.9888 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.8608, allocations: 210.8 kB / 0.989 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.8608, allocations: 16.28 kB / 0.989 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.8608, allocations: 12 kB / 0.989 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004331/0.8613, allocations: 240.1 kB / 0.9892 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.8613, allocations: 8 kB / 0.9892 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.8613, allocations: 8 kB / 0.9893 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.92e-05/0.8614, allocations: 4 kB / 0.9893 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004923/0.8619, allocations: 431.3 kB / 0.9897 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.863, allocations: 0.9877 MB / 0.9906 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/0.8633, allocations: 168.3 kB / 0.9908 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001377/0.8647, allocations: 1.841 MB / 0.9926 GB, free: 9.641 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.8647, allocations: 38.56 kB / 0.9926 GB, free: 9.594 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.8647, allocations: 0 / 0.9926 GB, free: 9.594 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.000327/0.8651, allocations: 135.3 kB / 0.9928 GB, free: 9.457 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.8651, allocations: 59.34 kB / 0.9928 GB, free: 9.387 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.8653, allocations: 175.1 kB / 0.993 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.8653, allocations: 37.7 kB / 0.993 GB, free: 9.16 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.295e-05/0.8654, allocations: 135.8 kB / 0.9931 GB, free: 9.023 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.361e-05/0.8655, allocations: 51.27 kB / 0.9932 GB, free: 8.973 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.849e-06/0.8655, allocations: 4 kB / 0.9932 GB, free: 8.969 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.8656, allocations: 322.8 kB / 0.9935 GB, free: 8.645 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.441e-05/0.8657, allocations: 35.97 kB / 0.9935 GB, free: 8.609 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.8658, allocations: 141.7 kB / 0.9937 GB, free: 8.422 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.449e-05/0.8659, allocations: 51.92 kB / 0.9937 GB, free: 8.371 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.866, allocations: 4 kB / 0.9937 GB, free: 8.367 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003173/0.8663, allocations: 206.2 kB / 0.9939 GB, free: 8.16 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.8663, allocations: 8 kB / 0.9939 GB, free: 8.152 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.8663, allocations: 7.984 kB / 0.9939 GB, free: 8.145 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.8664, allocations: 11.97 kB / 0.994 GB, free: 8.133 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.8666, allocations: 55.86 kB / 0.994 GB, free: 8.078 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.8666, allocations: 8.453 kB / 0.994 GB, free: 8.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.8667, allocations: 39.67 kB / 0.9941 GB, free: 8.031 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.8667, allocations: 19.95 kB / 0.9941 GB, free: 8.012 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.8669, allocations: 129.7 kB / 0.9942 GB, free: 7.875 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.8669, allocations: 15.81 kB / 0.9942 GB, free: 7.859 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000312/0.8672, allocations: 158.8 kB / 0.9944 GB, free: 7.699 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.8672, allocations: 4 kB / 0.9944 GB, free: 7.695 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.8673, allocations: 0 / 0.9944 GB, free: 7.695 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.8673, allocations: 4 kB / 0.9944 GB, free: 7.691 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.8675, allocations: 217.5 kB / 0.9946 GB, free: 7.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.8675, allocations: 3.938 kB / 0.9946 GB, free: 7.426 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.8677, allocations: 27.98 kB / 0.9946 GB, free: 7.398 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.8677, allocations: 0 / 0.9946 GB, free: 7.398 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.8677, allocations: 4 kB / 0.9946 GB, free: 7.395 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.8677, allocations: 0 / 0.9946 GB, free: 7.395 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.8677, allocations: 0 / 0.9946 GB, free: 7.395 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.8679, allocations: 232.7 kB / 0.9948 GB, free: 7.152 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.8681, allocations: 120.8 kB / 0.995 GB, free: 7.016 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.8681, allocations: 4 kB / 0.995 GB, free: 7.012 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.8683, allocations: 19.98 kB / 0.995 GB, free: 6.992 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.251e-05/0.8683, allocations: 7.984 kB / 0.995 GB, free: 6.984 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.8684, allocations: 12 kB / 0.995 GB, free: 6.973 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.383e-05/0.8684, allocations: 120.9 kB / 0.9951 GB, free: 6.855 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8685, allocations: 8 kB / 0.9951 GB, free: 6.848 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003954/0.8689, allocations: 75.94 kB / 0.9952 GB, free: 6.773 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000655/0.8695, allocations: 0.8265 MB / 0.996 GB, free: 5.922 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002216/0.8698, allocations: 113.7 kB / 0.9961 GB, free: 5.812 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.8698, allocations: 4 kB / 0.9961 GB, free: 5.809 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.084e-05/0.8698, allocations: 47.91 kB / 0.9962 GB, free: 5.762 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.8702, allocations: 48.83 kB / 0.9962 GB, free: 5.715 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/0.8729, allocations: 3.266 MB / 0.9994 GB, free: 2.336 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.8732, allocations: 0.7133 MB / 1 GB, free: 1.598 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001886/0.8734, allocations: 53.78 kB / 1 GB, free: 1.547 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.31e-05/0.8735, allocations: 51.36 kB / 1 GB, free: 1.496 MB / 0.7481 GB Notification: Performance of SimCode: time 3.7e-07/0.8735, allocations: 0 / 1 GB, free: 1.496 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.017/0.8905, allocations: 4.736 MB / 1.005 GB, free: 12.9 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/0.8907, allocations: 173.5 kB / 1.005 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/2.728, allocations: 0 / 1.005 GB, free: 12.66 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_WaterProperties.fmu > Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat does not exist to compare? outputFormat=mat