Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.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_Specification,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification",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.007369/0.007369, allocations: 101 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.001847/0.001847, allocations: 197.6 kB / 16.68 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8267/0.8267, allocations: 132.2 MB / 422.7 MB, free: 6.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 67.02 kB / 0.5808 GB, free: 24.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1545, allocations: 80.22 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.5342/0.6887, allocations: 153.8 MB / 0.8094 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01195/0.7007, allocations: 10.39 MB / 0.8195 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009874/0.7017, allocations: 16.19 kB / 0.8195 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009102/0.7027, allocations: 269 kB / 0.8198 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003025/0.7058, allocations: 0.8949 MB / 0.8206 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002676/0.7085, allocations: 1.041 MB / 0.8217 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001792/0.7103, allocations: 1.511 MB / 0.8231 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001445/0.7117, allocations: 1.138 MB / 0.8242 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001736/0.7135, allocations: 0.6597 MB / 0.8249 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006907/0.7142, allocations: 0.5531 MB / 0.8254 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001568/0.7143, allocations: 120.8 kB / 0.8255 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002097/0.7164, allocations: 1.014 MB / 0.8265 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003178/0.7168, allocations: 360.6 kB / 0.8269 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005454/0.7173, allocations: 0.6144 MB / 0.8275 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002859/0.7202, allocations: 2.089 MB / 0.8295 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.7202, allocations: 0 / 0.8295 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7202, allocations: 0 / 0.8295 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.676e-05/0.7202, allocations: 0 / 0.8295 GB, free: 1.898 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002727/0.7229, allocations: 1.67 MB / 0.8312 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.723, allocations: 7.906 kB / 0.8312 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001645/0.7232, allocations: 156.3 kB / 0.8313 GB, free: 476 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/0.7247, allocations: 269.6 kB / 0.8316 GB, free: 344 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.7262, allocations: 1.046 MB / 0.8326 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.211e-05/0.7262, allocations: 71.91 kB / 0.8327 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.7263, allocations: 85.5 kB / 0.8327 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.7281, allocations: 1.038 MB / 0.8338 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.7281, allocations: 0 / 0.8338 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.442e-05/0.7282, allocations: 48.17 kB / 0.8338 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.7282, allocations: 20.16 kB / 0.8338 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/0.7303, allocations: 1.271 MB / 0.8351 GB, free: 14.24 MB / 0.6075 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.004754/0.735, allocations: 3.114 MB / 0.8381 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/0.7368, allocations: 1.013 MB / 0.8391 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007067/0.7375, allocations: 384.4 kB / 0.8395 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002567/0.7378, allocations: 145.4 kB / 0.8396 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001025/0.7389, allocations: 0.5439 MB / 0.8401 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=86): time 2.645e-06/0.7389, allocations: 0 / 0.8401 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of matching and sorting (n=86): time 0.004079/0.743, allocations: 1.504 MB / 0.8416 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/0.7431, allocations: 199.6 kB / 0.8418 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.7444, allocations: 0.9753 MB / 0.8427 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.404e-05/0.7445, allocations: 42.58 kB / 0.8428 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004583/0.745, allocations: 455.2 kB / 0.8432 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003011/0.7453, allocations: 304.5 kB / 0.8435 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002762/0.7456, allocations: 159.7 kB / 0.8437 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002018/0.7458, allocations: 337.7 kB / 0.844 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006428/0.7464, allocations: 302.8 kB / 0.8443 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007488/0.7472, allocations: 434.1 kB / 0.8447 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/0.7486, allocations: 0.7127 MB / 0.8454 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.7486, allocations: 0 / 0.8454 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002387/0.751, allocations: 0.9553 MB / 0.8463 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.751, allocations: 9.875 kB / 0.8463 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.751, allocations: 4.062 kB / 0.8463 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007763/0.7518, allocations: 117.6 kB / 0.8464 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008472/0.7527, allocations: 175.8 kB / 0.8466 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003499/0.7562, allocations: 3.08 MB / 0.8496 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008847/0.7571, allocations: 97.81 kB / 0.8497 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.47e-05/0.7572, allocations: 39.91 kB / 0.8497 GB, free: 2.328 MB / 0.6075 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 (88): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006233/0.7578, allocations: 293.9 kB / 0.85 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003273/0.7582, allocations: 103.3 kB / 0.8501 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003009/0.7612, allocations: 1.214 MB / 0.8513 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.7612, allocations: 11.94 kB / 0.8513 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.7612, allocations: 0 / 0.8513 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.81e-05/0.7612, allocations: 7.984 kB / 0.8513 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004295/0.7655, allocations: 2.26 MB / 0.8535 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.7656, allocations: 4 kB / 0.8535 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007996/0.7664, allocations: 191.7 kB / 0.8537 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005746/0.7669, allocations: 101.6 kB / 0.8538 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.361e-05/0.767, allocations: 27.97 kB / 0.8538 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003127/0.7702, allocations: 3.093 MB / 0.8569 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.7702, allocations: 4.062 kB / 0.8569 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002598/0.7728, allocations: 1.136 MB / 0.858 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005061/0.7733, allocations: 308.1 kB / 0.8583 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/0.7735, allocations: 20 kB / 0.8583 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000796/0.7743, allocations: 75.98 kB / 0.8584 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/0.7745, allocations: 64.91 kB / 0.8584 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.7746, allocations: 39.97 kB / 0.8585 GB, free: 8.98 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001009/0.7756, allocations: 0.7254 MB / 0.8592 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7756, allocations: 0 / 0.8592 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001248/0.7769, allocations: 430.8 kB / 0.8596 GB, free: 7.84 MB / 0.6231 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 (95): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.005041/0.7819, allocations: 2.287 MB / 0.8618 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002343/0.7843, allocations: 1.033 MB / 0.8628 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.7843, allocations: 0 / 0.8628 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001345/0.7856, allocations: 0.6943 MB / 0.8635 GB, free: 3.965 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/0.7874, allocations: 353 kB / 0.8638 GB, free: 3.641 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01556/0.803, allocations: 8.004 MB / 0.8717 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009315/0.8039, allocations: 1.087 MB / 0.8727 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001066/0.805, allocations: 307.2 kB / 0.873 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007116/0.8057, allocations: 435.2 kB / 0.8734 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of SimCode: time 8.01e-07/0.8057, allocations: 0 / 0.8734 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06793/0.8737, allocations: 26.37 MB / 0.8992 GB, free: 15.54 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/14.29, allocations: 10.09 kB / 0.8992 GB, free: 15.53 MB / 0.67 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)