Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IDEAS_dev_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.001125/0.001125, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 196.6 kB / 16.53 MB, free: 6.672 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.347/1.347, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9262/0.9262, allocations: 135.1 MB / 425.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 71.75 kB / 0.5055 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1823, allocations: 80.92 MB / 0.5845 GB, free: 4.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.4437/0.6261, allocations: 153.8 MB / 0.7346 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01482/0.641, allocations: 10.4 MB / 0.7448 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009587/0.642, allocations: 21.34 kB / 0.7448 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009693/0.6429, allocations: 256.8 kB / 0.745 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00291/0.6459, allocations: 0.8934 MB / 0.7459 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002728/0.6486, allocations: 1.028 MB / 0.7469 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001993/0.6506, allocations: 1.509 MB / 0.7484 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001593/0.6522, allocations: 1.143 MB / 0.7495 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001751/0.654, allocations: 0.6406 MB / 0.7501 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008703/0.6549, allocations: 0.5576 MB / 0.7507 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002911/0.6552, allocations: 120.4 kB / 0.7508 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002028/0.6572, allocations: 0.9857 MB / 0.7518 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004823/0.6577, allocations: 350.7 kB / 0.7521 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008693/0.6586, allocations: 0.6098 MB / 0.7527 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003114/0.6617, allocations: 2.036 MB / 0.7547 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.6617, allocations: 0 / 0.7547 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.774e-06/0.6618, allocations: 0 / 0.7547 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.195e-05/0.6618, allocations: 8 kB / 0.7547 GB, free: 14.61 MB / 0.5762 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.003333/0.6652, allocations: 1.627 MB / 0.7563 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.6652, allocations: 8.031 kB / 0.7563 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002238/0.6654, allocations: 145 kB / 0.7564 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001712/0.6672, allocations: 262.1 kB / 0.7567 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/0.6688, allocations: 1.023 MB / 0.7577 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.092e-05/0.6688, allocations: 66 kB / 0.7577 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.669, allocations: 88 kB / 0.7578 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/0.6711, allocations: 1.06 MB / 0.7589 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.6711, allocations: 0 / 0.7589 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.6712, allocations: 36 kB / 0.7589 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.6713, allocations: 24 kB / 0.7589 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/0.6735, allocations: 1.272 MB / 0.7602 GB, free: 8.875 MB / 0.5762 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.005264/0.6788, allocations: 3.134 MB / 0.7632 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001886/0.6807, allocations: 1.011 MB / 0.7642 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007893/0.6815, allocations: 394.8 kB / 0.7646 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002645/0.6818, allocations: 144 kB / 0.7647 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001048/0.6828, allocations: 0.5436 MB / 0.7652 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=86): time 2.635e-06/0.6828, allocations: 0 / 0.7652 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86): time 0.004334/0.6872, allocations: 1.506 MB / 0.7667 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.6873, allocations: 200.8 kB / 0.7669 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.6886, allocations: 0.9774 MB / 0.7679 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.6887, allocations: 49.64 kB / 0.7679 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000405/0.6891, allocations: 444.4 kB / 0.7683 GB, free: 236 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002714/0.6894, allocations: 292 kB / 0.7686 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002843/0.6897, allocations: 150.5 kB / 0.7688 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.6899, allocations: 337.9 kB / 0.7691 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006936/0.6906, allocations: 297.8 kB / 0.7694 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008091/0.6914, allocations: 438.4 kB / 0.7698 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/0.6929, allocations: 0.7062 MB / 0.7705 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.6929, allocations: 0 / 0.7705 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002515/0.6954, allocations: 0.9587 MB / 0.7714 GB, free: 13 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.6955, allocations: 11.94 kB / 0.7714 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/0.6955, allocations: 0 / 0.7714 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007814/0.6963, allocations: 113.7 kB / 0.7715 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008784/0.6972, allocations: 179.7 kB / 0.7717 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003325/0.7005, allocations: 3.065 MB / 0.7747 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009047/0.7014, allocations: 95.23 kB / 0.7748 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-05/0.7015, allocations: 31.97 kB / 0.7748 GB, free: 9.223 MB / 0.5919 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.0005986/0.7021, allocations: 283 kB / 0.7751 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003052/0.7025, allocations: 104.2 kB / 0.7752 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003119/0.7056, allocations: 1.228 MB / 0.7764 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.7056, allocations: 8 kB / 0.7764 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.7056, allocations: 7.938 kB / 0.7764 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/0.7056, allocations: 3.984 kB / 0.7764 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004539/0.7102, allocations: 2.261 MB / 0.7786 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.7102, allocations: 0 / 0.7786 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008375/0.7111, allocations: 195.7 kB / 0.7788 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000586/0.7117, allocations: 101.6 kB / 0.7789 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.572e-05/0.7118, allocations: 23.98 kB / 0.7789 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003095/0.7149, allocations: 3.092 MB / 0.7819 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.7149, allocations: 3.938 kB / 0.7819 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00269/0.7176, allocations: 1.141 MB / 0.7831 GB, free: 392 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005754/0.7182, allocations: 303.5 kB / 0.7833 GB, free: 68 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002306/0.7184, allocations: 16 kB / 0.7834 GB, free: 52 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008906/0.7193, allocations: 69.86 kB / 0.7834 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.7195, allocations: 72.78 kB / 0.7835 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.953e-05/0.7196, allocations: 39.97 kB / 0.7835 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001018/0.7206, allocations: 0.7216 MB / 0.7842 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7206, allocations: 0 / 0.7842 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001226/0.7219, allocations: 411.2 kB / 0.7846 GB, free: 14.75 MB / 0.6075 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.004675/0.7265, allocations: 2.29 MB / 0.7869 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003119/0.7297, allocations: 1.256 MB / 0.7881 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/0.7297, allocations: 4 kB / 0.7881 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001321/0.731, allocations: 0.6941 MB / 0.7888 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001799/0.7329, allocations: 349.2 kB / 0.7891 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0162/0.7491, allocations: 8.263 MB / 0.7972 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007592/0.7499, allocations: 1.083 MB / 0.7982 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001206/0.7511, allocations: 307.2 kB / 0.7985 GB, free: 444 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007072/0.7518, allocations: 431.2 kB / 0.7989 GB, free: 12 kB / 0.6075 GB Notification: Performance of SimCode: time 9.82e-07/0.7518, allocations: 0 / 0.7989 GB, free: 12 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06632/0.8182, allocations: 26.12 MB / 0.8244 GB, free: 6.246 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.74, allocations: 15.98 kB / 0.8245 GB, free: 6.23 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)