Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData",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.008284/0.008283, allocations: 98.8 kB / 15.73 MB, free: 6.047 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.001885/0.001885, allocations: 194 kB / 16.67 MB, free: 5.969 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7423/0.7423, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.48 kB / 0.5808 GB, free: 1.129 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1712, allocations: 80.23 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.5936/0.7648, allocations: 166.9 MB / 0.8222 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01913/0.784, allocations: 17.09 MB / 0.8389 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001829/0.7858, allocations: 38.27 kB / 0.8389 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001533/0.7874, allocations: 0.5337 MB / 0.8394 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005419/0.7929, allocations: 1.678 MB / 0.8411 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004008/0.7969, allocations: 1.379 MB / 0.8424 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003198/0.8001, allocations: 2.532 MB / 0.8449 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002438/0.8025, allocations: 1.955 MB / 0.8468 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003873/0.8064, allocations: 1.392 MB / 0.8482 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00149/0.8079, allocations: 1.027 MB / 0.8492 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003117/0.8082, allocations: 208.8 kB / 0.8494 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0032/0.8115, allocations: 1.544 MB / 0.8509 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005689/0.812, allocations: 0.7661 MB / 0.8516 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.8131, allocations: 1.181 MB / 0.8528 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00469/0.8178, allocations: 3.554 MB / 0.8563 GB, free: 1.309 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.8178, allocations: 0 / 0.8563 GB, free: 1.309 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.434e-06/0.8178, allocations: 3.859 kB / 0.8563 GB, free: 1.309 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.219e-05/0.8179, allocations: 0 / 0.8563 GB, free: 1.309 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: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.004203/0.8221, allocations: 2.855 MB / 0.859 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.8221, allocations: 8.406 kB / 0.8591 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002438/0.8224, allocations: 246.1 kB / 0.8593 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004919/0.8273, allocations: 0.5682 MB / 0.8598 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006405/0.8337, allocations: 3.403 MB / 0.8632 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.8339, allocations: 125.4 kB / 0.8633 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003646/0.8343, allocations: 162.1 kB / 0.8634 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005051/0.8393, allocations: 1.871 MB / 0.8653 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.571e-05/0.8394, allocations: 4.875 kB / 0.8653 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002384/0.8397, allocations: 74.56 kB / 0.8653 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.24e-05/0.8397, allocations: 42.61 kB / 0.8654 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004841/0.8446, allocations: 2.041 MB / 0.8674 GB, free: 15 MB / 0.6544 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01285/0.8575, allocations: 6.047 MB / 0.8733 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003151/0.8606, allocations: 2.002 MB / 0.8752 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001154/0.8618, allocations: 0.7325 MB / 0.876 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005414/0.8624, allocations: 428.7 kB / 0.8764 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001678/0.8641, allocations: 0.9333 MB / 0.8773 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=137): time 4.368e-06/0.8641, allocations: 0 / 0.8773 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=137): time 0.006658/0.8708, allocations: 2.845 MB / 0.8801 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.8709, allocations: 198.2 kB / 0.8802 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004794/0.8757, allocations: 4.007 MB / 0.8842 GB, free: 8.59 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002319/0.8759, allocations: 55.77 kB / 0.8842 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008129/0.8768, allocations: 0.8772 MB / 0.8851 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004593/0.8772, allocations: 483.2 kB / 0.8855 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004261/0.8777, allocations: 229 kB / 0.8857 GB, free: 7.387 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.8778, allocations: 349.4 kB / 0.8861 GB, free: 7.066 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/0.8789, allocations: 0.5376 MB / 0.8866 GB, free: 6.898 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00128/0.8802, allocations: 0.7602 MB / 0.8873 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00219/0.8824, allocations: 1.258 MB / 0.8886 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.8824, allocations: 3.094 kB / 0.8886 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003799/0.8862, allocations: 1.695 MB / 0.8902 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.8862, allocations: 8.125 kB / 0.8902 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.8862, allocations: 0.9688 kB / 0.8902 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/0.8873, allocations: 212.9 kB / 0.8904 GB, free: 4.949 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/0.8888, allocations: 306 kB / 0.8907 GB, free: 4.887 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006221/0.8951, allocations: 7.314 MB / 0.8979 GB, free: 13.13 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/0.8969, allocations: 153.8 kB / 0.898 GB, free: 12.98 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002274/0.8971, allocations: 47.91 kB / 0.8981 GB, free: 12.93 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001276/0.8984, allocations: 481.1 kB / 0.8985 GB, free: 12.47 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007355/0.8992, allocations: 190.8 kB / 0.8987 GB, free: 12.29 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004657/0.9038, allocations: 2.042 MB / 0.9007 GB, free: 10.25 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.9039, allocations: 16.91 kB / 0.9007 GB, free: 10.23 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.434e-05/0.9039, allocations: 4 kB / 0.9007 GB, free: 10.23 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/0.9039, allocations: 7.969 kB / 0.9007 GB, free: 10.22 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008061/0.912, allocations: 3.923 MB / 0.9046 GB, free: 6.273 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.912, allocations: 0 / 0.9046 GB, free: 6.273 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001439/0.9135, allocations: 310.1 kB / 0.9049 GB, free: 5.984 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009124/0.9144, allocations: 205.5 kB / 0.9051 GB, free: 5.777 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/0.9146, allocations: 40.38 kB / 0.9051 GB, free: 5.738 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006125/0.9207, allocations: 7.348 MB / 0.9123 GB, free: 13.72 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.9207, allocations: 0 / 0.9123 GB, free: 13.72 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004549/0.9253, allocations: 1.905 MB / 0.9141 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/0.9265, allocations: 0.507 MB / 0.9146 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005217/0.9271, allocations: 35.83 kB / 0.9147 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/0.9286, allocations: 98.31 kB / 0.9147 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000217/0.9289, allocations: 101.2 kB / 0.9148 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00017/0.9291, allocations: 63.95 kB / 0.9149 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00353/0.9326, allocations: 3.087 MB / 0.9179 GB, free: 7.891 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9326, allocations: 0 / 0.9179 GB, free: 7.891 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002095/0.9347, allocations: 0.6391 MB / 0.9185 GB, free: 7.25 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006209/0.9409, allocations: 3.12 MB / 0.9216 GB, free: 4.359 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003415/0.9444, allocations: 1.973 MB / 0.9235 GB, free: 2.336 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.9444, allocations: 0.7969 kB / 0.9235 GB, free: 2.336 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002014/0.9464, allocations: 1.381 MB / 0.9249 GB, free: 0.918 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003035/0.9495, allocations: 0.522 MB / 0.9254 GB, free: 436 kB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03194/0.9814, allocations: 20.46 MB / 0.9454 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001463/0.9829, allocations: 1.506 MB / 0.9468 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00215/0.9851, allocations: 0.5165 MB / 0.9473 GB, free: 9.73 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00144/0.9866, allocations: 0.8507 MB / 0.9482 GB, free: 8.879 MB / 0.7169 GB Notification: Performance of SimCode: time 1.233e-06/0.9866, allocations: 0 / 0.9482 GB, free: 8.879 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.152/1.139, allocations: 46.63 MB / 0.9937 GB, free: 10.83 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.55/15.69, allocations: 10.95 kB / 0.9937 GB, free: 10.82 MB / 0.7637 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_res.csv --start-time 1.728e+07 --stop-time 1.78848e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 241.92 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)