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.004876/0.004876, allocations: 101 kB / 15.73 MB, free: 5.992 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.001164/0.001164, allocations: 196.2 kB / 16.67 MB, free: 5.93 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002955/0.002955, allocations: 274.9 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9427/0.9427, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 87.86 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1926, allocations: 86.98 MB / 0.7664 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.6907/0.8833, allocations: 176 MB / 0.9382 GB, free: 2.832 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01116/0.8945, allocations: 8.705 MB / 0.9467 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.8956, allocations: 23.88 kB / 0.9468 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.8967, allocations: 297.8 kB / 0.947 GB, free: 9.785 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.8979, allocations: 314.4 kB / 0.9473 GB, free: 9.477 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.8991, allocations: 363.3 kB / 0.9477 GB, free: 9.125 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001451/0.9006, allocations: 1.164 MB / 0.9488 GB, free: 7.957 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.9017, allocations: 0.5909 MB / 0.9494 GB, free: 7.367 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004899/0.9066, allocations: 2.058 MB / 0.9514 GB, free: 5.301 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006068/0.9072, allocations: 346.5 kB / 0.9517 GB, free: 4.961 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.9073, allocations: 40 kB / 0.9518 GB, free: 4.922 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00029/0.9076, allocations: 91.94 kB / 0.9519 GB, free: 4.832 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002742/0.9079, allocations: 255.3 kB / 0.9521 GB, free: 4.582 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0003867/0.9083, allocations: 290.4 kB / 0.9524 GB, free: 4.297 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0008232/0.9091, allocations: 0.6384 MB / 0.953 GB, free: 3.656 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.9091, allocations: 7.938 kB / 0.953 GB, free: 3.648 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.393e-06/0.9091, allocations: 3.938 kB / 0.953 GB, free: 3.645 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.561e-05/0.9092, allocations: 0 / 0.953 GB, free: 3.645 MB / 0.7012 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.001154/0.9103, allocations: 0.8223 MB / 0.9538 GB, free: 2.77 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.9104, allocations: 8.031 kB / 0.9538 GB, free: 2.762 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.9105, allocations: 75.19 kB / 0.9539 GB, free: 2.688 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006866/0.9112, allocations: 438.2 kB / 0.9543 GB, free: 2.219 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.439e-05/0.9112, allocations: 41.3 kB / 0.9544 GB, free: 2.18 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.625e-05/0.9113, allocations: 52 kB / 0.9544 GB, free: 2.129 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.9124, allocations: 0.7066 MB / 0.9551 GB, free: 1.344 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.9124, allocations: 7.922 kB / 0.9551 GB, free: 1.336 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.643e-05/0.9125, allocations: 24 kB / 0.9551 GB, free: 1.312 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.336e-05/0.9125, allocations: 39.92 kB / 0.9552 GB, free: 1.273 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006512/0.9132, allocations: 372.2 kB / 0.9555 GB, free: 0.9102 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002736/0.9159, allocations: 3.211 MB / 0.9587 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.9162, allocations: 218.1 kB / 0.9589 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.9164, allocations: 132.5 kB / 0.959 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.9164, allocations: 4 kB / 0.959 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.9165, allocations: 46.5 kB / 0.959 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 2.185e-06/0.9165, allocations: 0 / 0.959 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0007052/0.9172, allocations: 249.8 kB / 0.9593 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001769/0.9174, allocations: 290.7 kB / 0.9596 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007336/0.9181, allocations: 0.6839 MB / 0.9602 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.9181, allocations: 33.7 kB / 0.9603 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.9183, allocations: 272.1 kB / 0.9605 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.9184, allocations: 31.55 kB / 0.9606 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.422e-05/0.9184, allocations: 37.73 kB / 0.9606 GB, free: 11.35 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.9186, allocations: 366.8 kB / 0.9609 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.9187, allocations: 35.95 kB / 0.961 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.9189, allocations: 93.05 kB / 0.9611 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/0.9191, allocations: 125.6 kB / 0.9612 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.9191, allocations: 4 kB / 0.9612 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003576/0.9195, allocations: 188.8 kB / 0.9614 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.9195, allocations: 4 kB / 0.9614 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.9195, allocations: 0 / 0.9614 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.9196, allocations: 7.938 kB / 0.9614 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.9198, allocations: 45.91 kB / 0.9614 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.9198, allocations: 4.188 kB / 0.9614 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.92, allocations: 59.27 kB / 0.9615 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.9201, allocations: 15.88 kB / 0.9615 GB, free: 10.37 MB / 0.7169 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.0002158/0.9203, allocations: 202.4 kB / 0.9617 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/0.9205, allocations: 59.25 kB / 0.9617 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.856e-05/0.9206, allocations: 64.27 kB / 0.9618 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.9206, allocations: 0 / 0.9618 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.9206, allocations: 4 kB / 0.9618 GB, free: 10.03 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.9206, allocations: 11.98 kB / 0.9618 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.922, allocations: 1.297 MB / 0.9631 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.922, allocations: 4 kB / 0.9631 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.9222, allocations: 39.95 kB / 0.9631 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.9222, allocations: 6.188 kB / 0.9631 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.9222, allocations: 8 kB / 0.9631 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.9222, allocations: 3.938 kB / 0.9631 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.9222, allocations: 4.281 kB / 0.9631 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004236/0.9227, allocations: 342.3 kB / 0.9635 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.9228, allocations: 144.4 kB / 0.9636 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.906e-05/0.9229, allocations: 7.984 kB / 0.9636 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.9231, allocations: 8 kB / 0.9636 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.9231, allocations: 23.86 kB / 0.9637 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.9231, allocations: 4 kB / 0.9637 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005235/0.9237, allocations: 0.4951 MB / 0.9641 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9237, allocations: 0 / 0.9641 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003725/0.924, allocations: 83.84 kB / 0.9642 GB, free: 7.414 MB / 0.7169 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.0003282/0.9244, allocations: 135.8 kB / 0.9643 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003163/0.9247, allocations: 119.8 kB / 0.9645 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.9247, allocations: 0 / 0.9645 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.9249, allocations: 56.77 kB / 0.9645 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.9262, allocations: 277.8 kB / 0.9648 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.9274, allocations: 0.8687 MB / 0.9656 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005332/0.9279, allocations: 0.9089 MB / 0.9665 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002607/0.9282, allocations: 96.62 kB / 0.9666 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.224e-05/0.9283, allocations: 35.44 kB / 0.9666 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.9283, allocations: 0 / 0.9666 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of Templates: time 0.01479/0.9431, allocations: 8.469 MB / 0.9749 GB, free: 12.53 MB / 0.7325 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)