Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IDEAS_dev_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.001115/0.001115, 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.001168/0.001169, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.38/1.38, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9228/0.9228, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001274, allocations: 65.38 kB / 0.5054 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1584, allocations: 80.92 MB / 0.5845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.4404/0.5988, allocations: 166.9 MB / 0.7475 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02031/0.6191, allocations: 17.1 MB / 0.7642 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.6204, allocations: 31.81 kB / 0.7642 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001599/0.6221, allocations: 0.5275 MB / 0.7647 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004486/0.6266, allocations: 1.63 MB / 0.7663 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003435/0.63, allocations: 1.38 MB / 0.7677 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002738/0.6328, allocations: 2.521 MB / 0.7701 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002518/0.6353, allocations: 1.941 MB / 0.772 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003727/0.6391, allocations: 1.339 MB / 0.7733 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.6405, allocations: 1.027 MB / 0.7743 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005057/0.641, allocations: 208 kB / 0.7745 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003399/0.6444, allocations: 1.505 MB / 0.776 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008846/0.6453, allocations: 0.7711 MB / 0.7767 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001802/0.6471, allocations: 1.177 MB / 0.7779 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004932/0.6521, allocations: 3.462 MB / 0.7813 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.6521, allocations: 0 / 0.7813 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6521, allocations: 0 / 0.7813 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.312e-05/0.6522, allocations: 0 / 0.7813 GB, free: 3.316 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: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.005507/0.6577, allocations: 2.769 MB / 0.784 GB, free: 496 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.6578, allocations: 12.03 kB / 0.784 GB, free: 484 kB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004006/0.6582, allocations: 244.5 kB / 0.7842 GB, free: 228 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003925/0.6621, allocations: 0.5629 MB / 0.7848 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004327/0.6664, allocations: 3.35 MB / 0.788 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.6666, allocations: 123.3 kB / 0.7882 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000348/0.6669, allocations: 163.9 kB / 0.7883 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003539/0.6705, allocations: 1.88 MB / 0.7902 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/0.6705, allocations: 0 / 0.7902 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001841/0.6707, allocations: 72 kB / 0.7902 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.042e-05/0.6708, allocations: 40 kB / 0.7903 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003624/0.6744, allocations: 2.042 MB / 0.7923 GB, free: 7.883 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.009359/0.6838, allocations: 6.1 MB / 0.7982 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00317/0.687, allocations: 2 MB / 0.8002 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001307/0.6883, allocations: 0.7373 MB / 0.8009 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005804/0.6889, allocations: 429.5 kB / 0.8013 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001545/0.6904, allocations: 0.9271 MB / 0.8022 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=137): time 4.448e-06/0.6905, allocations: 0 / 0.8022 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of matching and sorting (n=137): time 0.006524/0.697, allocations: 2.84 MB / 0.805 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.6971, allocations: 197.2 kB / 0.8052 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004362/0.7015, allocations: 4.003 MB / 0.8091 GB, free: 6.078 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002023/0.7017, allocations: 57.7 kB / 0.8091 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007178/0.7024, allocations: 0.8667 MB / 0.81 GB, free: 5.137 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004341/0.7029, allocations: 461.2 kB / 0.8104 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003785/0.7033, allocations: 222.8 kB / 0.8106 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.7034, allocations: 357.9 kB / 0.811 GB, free: 4.102 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.7045, allocations: 0.5374 MB / 0.8115 GB, free: 3.562 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001206/0.7057, allocations: 0.7579 MB / 0.8122 GB, free: 2.742 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002176/0.7079, allocations: 1.259 MB / 0.8135 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.7079, allocations: 3.938 kB / 0.8135 GB, free: 1.465 MB / 0.6231 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003761/0.7117, allocations: 1.682 MB / 0.8151 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.7117, allocations: 7.984 kB / 0.8151 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.7117, allocations: 7.938 kB / 0.8151 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/0.7129, allocations: 216.2 kB / 0.8153 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/0.7144, allocations: 307.5 kB / 0.8156 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006124/0.7205, allocations: 7.307 MB / 0.8228 GB, free: 7.203 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/0.7222, allocations: 145.2 kB / 0.8229 GB, free: 7.062 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000203/0.7225, allocations: 52.09 kB / 0.8229 GB, free: 7.012 MB / 0.6387 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.001082/0.7236, allocations: 477.5 kB / 0.8234 GB, free: 6.535 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005876/0.7242, allocations: 181.8 kB / 0.8236 GB, free: 6.355 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004575/0.7287, allocations: 2.047 MB / 0.8256 GB, free: 4.281 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.7288, allocations: 16 kB / 0.8256 GB, free: 4.266 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.7288, allocations: 7.938 kB / 0.8256 GB, free: 4.258 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/0.7288, allocations: 7.969 kB / 0.8256 GB, free: 4.25 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007135/0.736, allocations: 3.913 MB / 0.8294 GB, free: 268 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.736, allocations: 0 / 0.8294 GB, free: 268 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/0.7374, allocations: 311.6 kB / 0.8297 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009189/0.7384, allocations: 208 kB / 0.8299 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/0.7385, allocations: 39.97 kB / 0.83 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005454/0.744, allocations: 7.353 MB / 0.8371 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.744, allocations: 0 / 0.8371 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004104/0.7481, allocations: 1.905 MB / 0.839 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/0.7491, allocations: 0.4904 MB / 0.8395 GB, free: 5.191 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004172/0.7496, allocations: 28 kB / 0.8395 GB, free: 5.164 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/0.751, allocations: 106.3 kB / 0.8396 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002178/0.7512, allocations: 97.17 kB / 0.8397 GB, free: 4.969 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/0.7513, allocations: 63.95 kB / 0.8398 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003218/0.7546, allocations: 3.095 MB / 0.8428 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7546, allocations: 3.938 kB / 0.8428 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001754/0.7563, allocations: 0.6352 MB / 0.8434 GB, free: 1.176 MB / 0.6544 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.005739/0.7621, allocations: 3.09 MB / 0.8464 GB, free: 14.24 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004862/0.767, allocations: 2.387 MB / 0.8488 GB, free: 11.79 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.767, allocations: 0.7969 kB / 0.8488 GB, free: 11.79 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002007/0.769, allocations: 1.375 MB / 0.8501 GB, free: 10.35 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002632/0.7717, allocations: 0.5291 MB / 0.8506 GB, free: 9.844 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2532/1.025, allocations: 21.84 MB / 0.8719 GB, free: 212.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008051/1.026, allocations: 1.501 MB / 0.8734 GB, free: 211.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001791/1.027, allocations: 0.5096 MB / 0.8739 GB, free: 211.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009114/1.028, allocations: 0.8524 MB / 0.8747 GB, free: 210.9 MB / 0.67 GB Notification: Performance of SimCode: time 8.01e-07/1.028, allocations: 0 / 0.8747 GB, free: 210.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08682/1.115, allocations: 46.21 MB / 0.9199 GB, free: 199.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13.72, allocations: 7.875 kB / 0.9199 GB, free: 199.7 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)