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: "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h",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.005013/0.005013, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001231/0.001231, allocations: 195.1 kB / 16.67 MB, free: 5.977 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.243/1.243, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002122/0.002123, allocations: 290.5 kB / 290.8 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9018/0.9018, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 99.97 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1435, allocations: 86.96 MB / 0.7659 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.4556/0.5991, allocations: 176 MB / 0.9377 GB, free: 3.133 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.008788/0.608, allocations: 8.717 MB / 0.9463 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005351/0.6085, allocations: 23.88 kB / 0.9463 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0006798/0.6092, allocations: 301.7 kB / 0.9466 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0006267/0.6099, allocations: 334.3 kB / 0.9469 GB, free: 9.746 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008723/0.6108, allocations: 367.8 kB / 0.9472 GB, free: 9.391 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0009942/0.6118, allocations: 1.149 MB / 0.9484 GB, free: 8.238 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006987/0.6125, allocations: 0.5993 MB / 0.9489 GB, free: 7.641 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003973/0.6165, allocations: 2.125 MB / 0.951 GB, free: 5.508 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003604/0.6168, allocations: 350.4 kB / 0.9513 GB, free: 5.164 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 5.538e-05/0.6169, allocations: 40 kB / 0.9514 GB, free: 5.125 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.6171, allocations: 91.88 kB / 0.9515 GB, free: 5.035 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002302/0.6173, allocations: 263.3 kB / 0.9517 GB, free: 4.777 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0002384/0.6176, allocations: 278.5 kB / 0.952 GB, free: 4.504 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0006321/0.6182, allocations: 0.6554 MB / 0.9526 GB, free: 3.848 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.6182, allocations: 0 / 0.9526 GB, free: 3.848 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6182, allocations: 0 / 0.9526 GB, free: 3.848 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.6182, allocations: 0 / 0.9526 GB, free: 3.848 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.000932/0.6192, allocations: 0.8451 MB / 0.9535 GB, free: 2.949 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.6192, allocations: 8.031 kB / 0.9535 GB, free: 2.941 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.368e-05/0.6193, allocations: 94.52 kB / 0.9536 GB, free: 2.84 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.911e-05/0.6194, allocations: 72.02 kB / 0.9536 GB, free: 2.77 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006456/0.6201, allocations: 450.5 kB / 0.9541 GB, free: 2.289 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.6201, allocations: 41.31 kB / 0.9541 GB, free: 2.25 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.487e-05/0.6202, allocations: 55.98 kB / 0.9541 GB, free: 2.195 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009234/0.6211, allocations: 0.7066 MB / 0.9548 GB, free: 1.41 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.6211, allocations: 0 / 0.9548 GB, free: 1.41 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.716e-05/0.6212, allocations: 28 kB / 0.9549 GB, free: 1.383 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.835e-05/0.6212, allocations: 34.05 kB / 0.9549 GB, free: 1.352 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005872/0.6218, allocations: 372.6 kB / 0.9552 GB, free: 0.9883 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002287/0.6241, allocations: 3.22 MB / 0.9584 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.6244, allocations: 218.4 kB / 0.9586 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.6246, allocations: 128.6 kB / 0.9587 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.6246, allocations: 7.938 kB / 0.9587 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.6246, allocations: 46.44 kB / 0.9588 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.6246, allocations: 0 / 0.9588 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0006533/0.6253, allocations: 253.7 kB / 0.959 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.6254, allocations: 298.7 kB / 0.9593 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006687/0.6261, allocations: 0.6839 MB / 0.96 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.6261, allocations: 26.11 kB / 0.96 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.6263, allocations: 268.3 kB / 0.9603 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.6264, allocations: 39.69 kB / 0.9603 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.871e-05/0.6264, allocations: 29.7 kB / 0.9603 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.6266, allocations: 366.8 kB / 0.9607 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.6267, allocations: 39.95 kB / 0.9607 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.6268, allocations: 97.11 kB / 0.9608 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.6271, allocations: 129 kB / 0.9609 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6271, allocations: 0 / 0.9609 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003263/0.6274, allocations: 189.1 kB / 0.9611 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.6274, allocations: 8 kB / 0.9611 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.6275, allocations: 4.125 kB / 0.9611 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.6275, allocations: 4.188 kB / 0.9611 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.6277, allocations: 44.89 kB / 0.9612 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.6277, allocations: 4 kB / 0.9612 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.6279, allocations: 55.5 kB / 0.9612 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/0.6279, allocations: 8 kB / 0.9612 GB, free: 10.44 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.0001743/0.6281, allocations: 209.9 kB / 0.9614 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/0.6283, allocations: 63.58 kB / 0.9615 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.344e-05/0.6284, allocations: 68.25 kB / 0.9615 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.6284, allocations: 4 kB / 0.9616 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.6284, allocations: 4 kB / 0.9616 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.6284, allocations: 4 kB / 0.9616 GB, free: 10.08 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.6297, allocations: 1.306 MB / 0.9628 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.6297, allocations: 4 kB / 0.9628 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.6299, allocations: 39.95 kB / 0.9629 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.6299, allocations: 0 / 0.9629 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.6299, allocations: 12.27 kB / 0.9629 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.63, allocations: 4 kB / 0.9629 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.63, allocations: 7.938 kB / 0.9629 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003666/0.6303, allocations: 342.7 kB / 0.9632 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/0.6305, allocations: 152.6 kB / 0.9634 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.622e-05/0.6306, allocations: 4.688 kB / 0.9634 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.6307, allocations: 15.98 kB / 0.9634 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.6308, allocations: 11.88 kB / 0.9634 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.6308, allocations: 12 kB / 0.9634 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004902/0.6313, allocations: 499 kB / 0.9639 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6313, allocations: 0 / 0.9639 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003622/0.6317, allocations: 95.81 kB / 0.964 GB, free: 7.453 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.0007842/0.6325, allocations: 0.9067 MB / 0.9649 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002965/0.6328, allocations: 103.8 kB / 0.965 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.6328, allocations: 4 kB / 0.965 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.6329, allocations: 59.89 kB / 0.965 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.6341, allocations: 283 kB / 0.9653 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004699/0.6389, allocations: 4.459 MB / 0.9697 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.6393, allocations: 0.905 MB / 0.9705 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002275/0.6395, allocations: 108.6 kB / 0.9706 GB, free: 416 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.6397, allocations: 175.4 kB / 0.9708 GB, free: 240 kB / 0.7169 GB Notification: Performance of SimCode: time 2.8e-07/0.6397, allocations: 0 / 0.9708 GB, free: 240 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03117/0.6709, allocations: 13.6 MB / 0.9841 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.951/8.622, allocations: 14.38 kB / 0.9841 GB, free: 2.879 MB / 0.7325 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)