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.001088/0.001088, allocations: 108 kB / 15.6 MB, free: 132 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.001097/0.001097, allocations: 198.7 kB / 16.54 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.382/1.382, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8476/0.8476, allocations: 132.2 MB / 422.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 65.2 kB / 0.5019 GB, free: 3.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.4212, allocations: 80.2 MB / 0.5802 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1738/0.595, allocations: 153.8 MB / 0.7304 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0165/0.6116, allocations: 10.42 MB / 0.7405 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.6127, allocations: 19.94 kB / 0.7405 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001179/0.6139, allocations: 265.8 kB / 0.7408 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003355/0.6173, allocations: 0.8843 MB / 0.7417 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002894/0.6202, allocations: 1.031 MB / 0.7427 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001875/0.6221, allocations: 1.5 MB / 0.7441 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001729/0.6238, allocations: 1.141 MB / 0.7452 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00177/0.6256, allocations: 0.6429 MB / 0.7459 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008358/0.6265, allocations: 0.5562 MB / 0.7464 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003128/0.6268, allocations: 124 kB / 0.7465 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/0.6288, allocations: 0.987 MB / 0.7475 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004397/0.6293, allocations: 350.9 kB / 0.7478 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009201/0.6302, allocations: 0.6178 MB / 0.7484 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00306/0.6332, allocations: 2.029 MB / 0.7504 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.6333, allocations: 0 / 0.7504 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.293e-06/0.6333, allocations: 0 / 0.7504 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.759e-05/0.6333, allocations: 0 / 0.7504 GB, free: 2.555 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.003511/0.6368, allocations: 1.63 MB / 0.752 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.6369, allocations: 8.031 kB / 0.752 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002248/0.6371, allocations: 147.7 kB / 0.7522 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001715/0.6388, allocations: 258.2 kB / 0.7524 GB, free: 464 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001657/0.6405, allocations: 1.023 MB / 0.7534 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.652e-05/0.6406, allocations: 66 kB / 0.7535 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.6407, allocations: 95.98 kB / 0.7536 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.6427, allocations: 1.039 MB / 0.7546 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.381e-05/0.6427, allocations: 12 kB / 0.7546 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.471e-05/0.6428, allocations: 40 kB / 0.7546 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/0.6428, allocations: 24 kB / 0.7546 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002256/0.6451, allocations: 1.26 MB / 0.7559 GB, free: 12.81 MB / 0.5919 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.005329/0.6504, allocations: 3.139 MB / 0.7589 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001869/0.6523, allocations: 1.01 MB / 0.7599 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007467/0.6531, allocations: 395.7 kB / 0.7603 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002551/0.6533, allocations: 134.1 kB / 0.7604 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/0.6544, allocations: 0.5464 MB / 0.761 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=86): time 4.389e-06/0.6544, allocations: 0 / 0.761 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of matching and sorting (n=86): time 0.004159/0.6586, allocations: 1.506 MB / 0.7624 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.6587, allocations: 196.9 kB / 0.7626 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/0.6602, allocations: 0.9813 MB / 0.7636 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.911e-05/0.6603, allocations: 45.7 kB / 0.7636 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004308/0.6607, allocations: 440.4 kB / 0.7641 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002633/0.661, allocations: 291.8 kB / 0.7643 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002587/0.6612, allocations: 154.5 kB / 0.7645 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.6614, allocations: 341.9 kB / 0.7648 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006715/0.6621, allocations: 293.8 kB / 0.7651 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007966/0.6629, allocations: 437 kB / 0.7655 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/0.6643, allocations: 0.7179 MB / 0.7662 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.6643, allocations: 0 / 0.7662 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002384/0.6667, allocations: 0.9587 MB / 0.7671 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.6667, allocations: 4 kB / 0.7671 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.6667, allocations: 4 kB / 0.7671 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007558/0.6675, allocations: 109.7 kB / 0.7672 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008649/0.6684, allocations: 187.7 kB / 0.7674 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00331/0.6717, allocations: 3.065 MB / 0.7704 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008497/0.6726, allocations: 103.3 kB / 0.7705 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.288e-05/0.6727, allocations: 31.97 kB / 0.7705 GB, free: 13.14 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.0005591/0.6732, allocations: 281.7 kB / 0.7708 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002785/0.6735, allocations: 102.8 kB / 0.7709 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00296/0.6765, allocations: 1.228 MB / 0.7721 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.6765, allocations: 11.94 kB / 0.7721 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.6765, allocations: 0 / 0.7721 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.6765, allocations: 3.984 kB / 0.7721 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004175/0.6807, allocations: 2.259 MB / 0.7743 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.6807, allocations: 0 / 0.7743 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008157/0.6816, allocations: 183.8 kB / 0.7745 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005929/0.6822, allocations: 105.6 kB / 0.7746 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.019e-05/0.6823, allocations: 23.98 kB / 0.7746 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00298/0.6852, allocations: 3.1 MB / 0.7777 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6853, allocations: 0 / 0.7777 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002549/0.6878, allocations: 1.133 MB / 0.7788 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005072/0.6883, allocations: 303.7 kB / 0.7791 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001946/0.6885, allocations: 23.88 kB / 0.7791 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008051/0.6894, allocations: 71.92 kB / 0.7791 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/0.6896, allocations: 72.89 kB / 0.7792 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.235e-05/0.6897, allocations: 39.97 kB / 0.7793 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009601/0.6906, allocations: 0.7177 MB / 0.78 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6906, allocations: 0 / 0.78 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001198/0.6919, allocations: 423.2 kB / 0.7804 GB, free: 2.668 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.004365/0.6962, allocations: 2.286 MB / 0.7826 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002895/0.6991, allocations: 1.259 MB / 0.7838 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.6992, allocations: 0 / 0.7838 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001314/0.7005, allocations: 0.7022 MB / 0.7845 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001763/0.7023, allocations: 343.2 kB / 0.7848 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01598/0.7183, allocations: 8.266 MB / 0.7929 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008048/0.7191, allocations: 1.079 MB / 0.794 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001107/0.7202, allocations: 299.3 kB / 0.7942 GB, free: 4.355 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005982/0.7208, allocations: 431.2 kB / 0.7947 GB, free: 3.934 MB / 0.6231 GB Notification: Performance of SimCode: time 7.92e-07/0.7208, allocations: 0 / 0.7947 GB, free: 3.934 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3232/1.044, allocations: 26.13 MB / 0.8202 GB, free: 217.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/13.02, allocations: 6.172 kB / 0.8202 GB, free: 217.1 MB / 0.6387 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)