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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 101.7 kB / 16.35 MB, free: 5.875 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.001007/0.001006, allocations: 196 kB / 17.3 MB, free: 5.516 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.242/1.242, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002098/0.002098, allocations: 290.3 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8849/0.8849, allocations: 169.2 MB / 0.4989 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 94.86 kB / 0.5967 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1563, allocations: 86.97 MB / 0.6816 GB, free: 7.492 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.4489/0.6052, allocations: 176 MB / 0.8534 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.00917/0.6144, allocations: 8.706 MB / 0.8619 GB, free: 5.793 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004766/0.6149, allocations: 19.88 kB / 0.862 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006568/0.6156, allocations: 301.8 kB / 0.8622 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0006166/0.6163, allocations: 302.4 kB / 0.8625 GB, free: 5.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008832/0.6172, allocations: 383 kB / 0.8629 GB, free: 4.812 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001057/0.6182, allocations: 1.152 MB / 0.864 GB, free: 3.66 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007272/0.619, allocations: 0.583 MB / 0.8646 GB, free: 3.07 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003885/0.6229, allocations: 2.066 MB / 0.8666 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003855/0.6233, allocations: 350.4 kB / 0.8669 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.492e-05/0.6233, allocations: 40 kB / 0.867 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001735/0.6235, allocations: 83.91 kB / 0.8671 GB, free: 0.5312 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002258/0.6237, allocations: 259.4 kB / 0.8673 GB, free: 284 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002506/0.624, allocations: 282.5 kB / 0.8676 GB, free: 0 / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.000605/0.6246, allocations: 0.6422 MB / 0.8682 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.6246, allocations: 0 / 0.8682 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6246, allocations: 4 kB / 0.8682 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.6246, allocations: 0 / 0.8682 GB, free: 15.35 MB / 0.6387 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.000975/0.6256, allocations: 0.8244 MB / 0.869 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.6257, allocations: 11.97 kB / 0.869 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.6258, allocations: 75.19 kB / 0.8691 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006743/0.6265, allocations: 450 kB / 0.8695 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.6265, allocations: 37.31 kB / 0.8696 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.408e-05/0.6266, allocations: 51.98 kB / 0.8696 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000912/0.6275, allocations: 0.7028 MB / 0.8703 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.6275, allocations: 3.938 kB / 0.8703 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.832e-05/0.6276, allocations: 23.98 kB / 0.8703 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.861e-05/0.6276, allocations: 39.92 kB / 0.8704 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005848/0.6282, allocations: 377.4 kB / 0.8707 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002447/0.6307, allocations: 3.207 MB / 0.8739 GB, free: 9.258 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.6309, allocations: 218.1 kB / 0.8741 GB, free: 8.953 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.6311, allocations: 128.6 kB / 0.8742 GB, free: 8.797 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.6311, allocations: 0 / 0.8742 GB, free: 8.797 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.6312, allocations: 50.5 kB / 0.8742 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=10): time 2.395e-06/0.6312, allocations: 3.984 kB / 0.8742 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of matching and sorting (n=10): time 0.0006606/0.6319, allocations: 257.7 kB / 0.8745 GB, free: 8.477 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.632, allocations: 294.7 kB / 0.8748 GB, free: 8.121 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006928/0.6327, allocations: 0.6799 MB / 0.8754 GB, free: 7.43 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.6327, allocations: 33.7 kB / 0.8755 GB, free: 7.391 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.6329, allocations: 264.2 kB / 0.8757 GB, free: 7.129 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.633, allocations: 35.53 kB / 0.8758 GB, free: 7.094 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.36e-05/0.633, allocations: 37.73 kB / 0.8758 GB, free: 7.051 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.6332, allocations: 367.1 kB / 0.8761 GB, free: 6.684 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.6333, allocations: 35.95 kB / 0.8762 GB, free: 6.648 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.6335, allocations: 89.11 kB / 0.8763 GB, free: 6.543 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.6338, allocations: 133 kB / 0.8764 GB, free: 6.395 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.6338, allocations: 4 kB / 0.8764 GB, free: 6.391 MB / 0.6387 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003115/0.6341, allocations: 192.7 kB / 0.8766 GB, free: 6.195 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.6341, allocations: 4 kB / 0.8766 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.6341, allocations: 0 / 0.8766 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.6341, allocations: 7.938 kB / 0.8766 GB, free: 6.184 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.6343, allocations: 48.14 kB / 0.8766 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.6344, allocations: 0 / 0.8766 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.6346, allocations: 51.36 kB / 0.8767 GB, free: 6.086 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.6346, allocations: 10.69 kB / 0.8767 GB, free: 6.078 MB / 0.6387 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.0001882/0.6348, allocations: 205.9 kB / 0.8769 GB, free: 5.867 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002047/0.635, allocations: 59.25 kB / 0.8769 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.486e-05/0.6351, allocations: 68.2 kB / 0.877 GB, free: 5.738 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.6351, allocations: 0 / 0.877 GB, free: 5.738 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.6351, allocations: 7.984 kB / 0.877 GB, free: 5.73 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-06/0.6351, allocations: 8 kB / 0.877 GB, free: 5.723 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.6364, allocations: 1.293 MB / 0.8783 GB, free: 4.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.6364, allocations: 4 kB / 0.8783 GB, free: 4.336 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.6366, allocations: 47.89 kB / 0.8783 GB, free: 4.289 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.6366, allocations: 4 kB / 0.8783 GB, free: 4.285 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.6366, allocations: 0 / 0.8783 GB, free: 4.285 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.6366, allocations: 4 kB / 0.8783 GB, free: 4.281 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.6366, allocations: 4.281 kB / 0.8783 GB, free: 4.277 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003543/0.637, allocations: 342.4 kB / 0.8787 GB, free: 3.898 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/0.6372, allocations: 148.3 kB / 0.8788 GB, free: 3.734 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.314e-05/0.6372, allocations: 4 kB / 0.8788 GB, free: 3.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.6374, allocations: 8 kB / 0.8788 GB, free: 3.723 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.6374, allocations: 19.92 kB / 0.8788 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.6375, allocations: 4 kB / 0.8788 GB, free: 3.699 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005046/0.638, allocations: 0.4912 MB / 0.8793 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.638, allocations: 4 kB / 0.8793 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003522/0.6383, allocations: 83.84 kB / 0.8794 GB, free: 3.129 MB / 0.6387 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.0002999/0.6386, allocations: 142.5 kB / 0.8795 GB, free: 2.988 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002981/0.6389, allocations: 111.8 kB / 0.8797 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.639, allocations: 3.938 kB / 0.8797 GB, free: 2.875 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.6391, allocations: 56.75 kB / 0.8797 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.6403, allocations: 285.7 kB / 0.88 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.6414, allocations: 0.8693 MB / 0.8808 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004648/0.6419, allocations: 0.9011 MB / 0.8817 GB, free: 0.6953 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002222/0.6421, allocations: 108.6 kB / 0.8818 GB, free: 0.5859 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.774e-05/0.6422, allocations: 35.44 kB / 0.8818 GB, free: 0.5547 MB / 0.6387 GB Notification: Performance of SimCode: time 2.3e-07/0.6422, allocations: 0 / 0.8818 GB, free: 0.5547 MB / 0.6387 GB Notification: Performance of Templates: time 0.01374/0.6559, allocations: 8.417 MB / 0.8901 GB, free: 8.285 MB / 0.6544 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)