Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h") translateModel(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7882/0.7882, allocations: 143.4 MB / 159.2 MB, free: 4.809 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 176.5 kB / 191.9 MB, free: 5.699 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 447.3 MB, free: 5.852 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 102.6 kB / 0.517 GB, free: 3.723 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002034/0.002034, allocations: 280.1 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 83.86 kB / 0.6885 GB, free: 3.836 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3863, allocations: 81.3 MB / 0.7679 GB, free: 27.65 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.5792/0.9655, allocations: 173.7 MB / 0.9376 GB, free: 276 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.009516/0.9751, allocations: 8.705 MB / 0.9461 GB, free: 52 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.9762, allocations: 21.31 kB / 0.9461 GB, free: 48 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0008328/0.9771, allocations: 242.6 kB / 0.9463 GB, free: 48 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0008095/0.9779, allocations: 294.9 kB / 0.9466 GB, free: 32 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009255/0.9788, allocations: 345.2 kB / 0.9469 GB, free: 16 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001367/0.9802, allocations: 1.617 MB / 0.9485 GB, free: 12 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006716/0.9809, allocations: 0.5043 MB / 0.949 GB, free: 15.94 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004647/0.9855, allocations: 1.935 MB / 0.9509 GB, free: 15.86 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006333/0.9862, allocations: 372.3 kB / 0.9513 GB, free: 15.86 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 7.076e-05/0.9863, allocations: 26.72 kB / 0.9513 GB, free: 15.86 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002242/0.9865, allocations: 65.47 kB / 0.9513 GB, free: 15.86 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002256/0.9868, allocations: 244.8 kB / 0.9516 GB, free: 15.86 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002958/0.9871, allocations: 274.9 kB / 0.9518 GB, free: 15.86 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0005392/0.9876, allocations: 0.6063 MB / 0.9524 GB, free: 15.76 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.9876, allocations: 0 / 0.9524 GB, free: 15.76 MB / 0.573 GB Notification: Performance of FrontEnd: time 8.02e-07/0.9876, allocations: 0 / 0.9524 GB, free: 15.76 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.9876, allocations: 0 / 0.9524 GB, free: 15.76 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001009/0.9887, allocations: 0.8214 MB / 0.9532 GB, free: 15.22 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.9887, allocations: 10.75 kB / 0.9532 GB, free: 15.22 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.9888, allocations: 69.97 kB / 0.9533 GB, free: 15.18 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000548/0.9894, allocations: 413.9 kB / 0.9537 GB, free: 14.93 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.9894, allocations: 45.03 kB / 0.9537 GB, free: 14.93 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.791e-05/0.9895, allocations: 54.05 kB / 0.9538 GB, free: 14.93 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008901/0.9904, allocations: 0.7036 MB / 0.9545 GB, free: 14.68 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.9904, allocations: 5.25 kB / 0.9545 GB, free: 14.68 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.018e-05/0.9905, allocations: 22.61 kB / 0.9545 GB, free: 14.68 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.675e-05/0.9905, allocations: 36.53 kB / 0.9545 GB, free: 14.67 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005528/0.9911, allocations: 376.7 kB / 0.9549 GB, free: 14.67 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002499/0.9936, allocations: 3.222 MB / 0.9581 GB, free: 12.25 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.9938, allocations: 225.4 kB / 0.9583 GB, free: 12.01 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/0.9941, allocations: 132.8 kB / 0.9584 GB, free: 11.92 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.9941, allocations: 0 / 0.9584 GB, free: 11.92 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.505e-05/0.9942, allocations: 50.89 kB / 0.9584 GB, free: 11.88 MB / 0.573 GB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.9942, allocations: 0 / 0.9584 GB, free: 11.88 MB / 0.573 GB Notification: Performance of matching and sorting (n=10): time 0.0006483/0.9948, allocations: 251.5 kB / 0.9587 GB, free: 11.81 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.9949, allocations: 290.6 kB / 0.959 GB, free: 11.47 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006637/0.9956, allocations: 0.6865 MB / 0.9596 GB, free: 11.34 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.9956, allocations: 32.2 kB / 0.9597 GB, free: 11.31 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.9958, allocations: 267.7 kB / 0.9599 GB, free: 11.21 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/0.9959, allocations: 38.38 kB / 0.96 GB, free: 11.19 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.564e-05/0.9959, allocations: 25.77 kB / 0.96 GB, free: 11.18 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.9961, allocations: 368.4 kB / 0.9603 GB, free: 10.86 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.9962, allocations: 38.66 kB / 0.9604 GB, free: 10.86 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.9963, allocations: 98.75 kB / 0.9605 GB, free: 10.81 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.9966, allocations: 129.1 kB / 0.9606 GB, free: 10.76 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.9966, allocations: 2.297 kB / 0.9606 GB, free: 10.76 MB / 0.573 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003044/0.9969, allocations: 183.5 kB / 0.9608 GB, free: 10.7 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.9969, allocations: 6.062 kB / 0.9608 GB, free: 10.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.9969, allocations: 3.938 kB / 0.9608 GB, free: 10.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.9969, allocations: 6.5 kB / 0.9608 GB, free: 10.69 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.9972, allocations: 45.31 kB / 0.9608 GB, free: 10.69 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.9972, allocations: 5.062 kB / 0.9608 GB, free: 10.69 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.9974, allocations: 62.5 kB / 0.9609 GB, free: 10.65 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.9974, allocations: 12.02 kB / 0.9609 GB, free: 10.65 MB / 0.573 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 (10): * Single equations (assignments): 10 * 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.0001695/0.9976, allocations: 196 kB / 0.9611 GB, free: 10.54 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/0.9978, allocations: 65.19 kB / 0.9611 GB, free: 10.51 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.403e-05/0.9979, allocations: 59.86 kB / 0.9612 GB, free: 10.49 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.9979, allocations: 2.562 kB / 0.9612 GB, free: 10.49 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.9979, allocations: 4.969 kB / 0.9612 GB, free: 10.49 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.9979, allocations: 5.25 kB / 0.9612 GB, free: 10.49 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.9992, allocations: 1.304 MB / 0.9625 GB, free: 9.512 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.9992, allocations: 2 kB / 0.9625 GB, free: 9.512 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.9994, allocations: 39.98 kB / 0.9625 GB, free: 9.512 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.9994, allocations: 7.406 kB / 0.9625 GB, free: 9.508 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.9994, allocations: 5.391 kB / 0.9625 GB, free: 9.508 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.9994, allocations: 11.25 kB / 0.9626 GB, free: 9.504 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.9994, allocations: 3.281 kB / 0.9626 GB, free: 9.504 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007628/1, allocations: 1.036 MB / 0.9636 GB, free: 8.664 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/1, allocations: 148.1 kB / 0.9637 GB, free: 8.543 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.113e-05/1, allocations: 6.562 kB / 0.9637 GB, free: 8.539 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/1.001, allocations: 14.19 kB / 0.9637 GB, free: 8.539 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/1.001, allocations: 16.58 kB / 0.9637 GB, free: 8.539 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/1.001, allocations: 5.344 kB / 0.9637 GB, free: 8.539 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004584/1.001, allocations: 0.4944 MB / 0.9642 GB, free: 8.441 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.31e-07/1.001, allocations: 2 kB / 0.9642 GB, free: 8.441 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004707/1.002, allocations: 83.78 kB / 0.9643 GB, free: 8.434 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0003501/1.002, allocations: 145.7 kB / 0.9645 GB, free: 8.332 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002982/1.002, allocations: 104.3 kB / 0.9646 GB, free: 8.324 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.002, allocations: 2.219 kB / 0.9646 GB, free: 8.324 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/1.002, allocations: 60.97 kB / 0.9646 GB, free: 8.324 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/1.004, allocations: 276.3 kB / 0.9649 GB, free: 8.301 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/1.005, allocations: 1.14 MB / 0.966 GB, free: 7.602 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/1.006, allocations: 0.9098 MB / 0.9669 GB, free: 6.898 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002541/1.006, allocations: 104.8 kB / 0.967 GB, free: 6.887 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.723e-05/1.006, allocations: 34.66 kB / 0.967 GB, free: 6.879 MB / 0.573 GB Notification: Performance of SimCode: time 5.21e-07/1.006, allocations: 0 / 0.967 GB, free: 6.879 MB / 0.573 GB Notification: Performance of Templates: time 0.01432/1.02, allocations: 8.229 MB / 0.975 GB, free: 3.809 MB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)