Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.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_CpLowRise,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise",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.001142/0.001142, allocations: 108 kB / 15.61 MB, free: 152 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.001178/0.001178, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.36/1.36, 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 1.027/1.027, allocations: 135.1 MB / 425.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001426, allocations: 64.72 kB / 0.5054 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1611, allocations: 80.93 MB / 0.5845 GB, free: 4.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise): time 0.4313/0.5924, allocations: 166.8 MB / 0.7473 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01945/0.6119, allocations: 16.84 MB / 0.7638 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001343/0.6133, allocations: 31.81 kB / 0.7638 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001408/0.6148, allocations: 0.5042 MB / 0.7643 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004059/0.6188, allocations: 1.475 MB / 0.7657 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00303/0.6219, allocations: 1.262 MB / 0.767 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002674/0.6246, allocations: 2.354 MB / 0.7693 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002536/0.6271, allocations: 1.889 MB / 0.7711 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00329/0.6304, allocations: 1.26 MB / 0.7724 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/0.6315, allocations: 0.8984 MB / 0.7732 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000279/0.6318, allocations: 192 kB / 0.7734 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002876/0.6347, allocations: 1.388 MB / 0.7748 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004799/0.6352, allocations: 0.5257 MB / 0.7753 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008899/0.6361, allocations: 0.9367 MB / 0.7762 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003778/0.6398, allocations: 2.87 MB / 0.779 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.6399, allocations: 0 / 0.779 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6399, allocations: 4 kB / 0.779 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.68e-05/0.6399, allocations: 0 / 0.779 GB, free: 5.688 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: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.003439/0.6434, allocations: 2.153 MB / 0.7811 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.6434, allocations: 8.031 kB / 0.7811 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002641/0.6437, allocations: 248.6 kB / 0.7814 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003548/0.6472, allocations: 0.4973 MB / 0.7818 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/0.6487, allocations: 1.051 MB / 0.7829 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.41e-05/0.6488, allocations: 127.2 kB / 0.783 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/0.649, allocations: 159.9 kB / 0.7831 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002875/0.6519, allocations: 1.783 MB / 0.7849 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/0.6519, allocations: 0 / 0.7849 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001574/0.6521, allocations: 72 kB / 0.7849 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.158e-05/0.6521, allocations: 40 kB / 0.785 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003158/0.6553, allocations: 1.823 MB / 0.7868 GB, free: 13.57 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.007302/0.6626, allocations: 5.036 MB / 0.7917 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002815/0.6654, allocations: 1.666 MB / 0.7933 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.6666, allocations: 0.628 MB / 0.7939 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008939/0.6675, allocations: 0.8 MB / 0.7947 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00147/0.669, allocations: 0.8251 MB / 0.7955 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=137): time 3.367e-06/0.669, allocations: 0 / 0.7955 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=137): time 0.006002/0.675, allocations: 2.427 MB / 0.7979 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001518/0.6751, allocations: 197.2 kB / 0.7981 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009868/0.6761, allocations: 0.7868 MB / 0.7988 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001081/0.6763, allocations: 57.7 kB / 0.7989 GB, free: 484 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005142/0.6768, allocations: 0.625 MB / 0.7995 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003728/0.6772, allocations: 465.2 kB / 0.7999 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003482/0.6775, allocations: 218.8 kB / 0.8002 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.6777, allocations: 361.8 kB / 0.8005 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009414/0.6786, allocations: 442.4 kB / 0.8009 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/0.6797, allocations: 0.6024 MB / 0.8015 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002121/0.6819, allocations: 1.044 MB / 0.8025 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.6819, allocations: 0 / 0.8025 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003244/0.6851, allocations: 1.421 MB / 0.8039 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.6852, allocations: 7.938 kB / 0.8039 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.6852, allocations: 0 / 0.8039 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009106/0.6861, allocations: 196.2 kB / 0.8041 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/0.6876, allocations: 315.5 kB / 0.8044 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006174/0.6938, allocations: 7.275 MB / 0.8115 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.6951, allocations: 142.8 kB / 0.8117 GB, free: 2.578 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.6952, allocations: 47.95 kB / 0.8117 GB, free: 2.531 MB / 0.6231 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 (136): * Single equations (assignments): 131 * 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.0008949/0.6961, allocations: 363.4 kB / 0.812 GB, free: 2.168 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000332/0.6965, allocations: 122.6 kB / 0.8122 GB, free: 2.047 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004103/0.7006, allocations: 1.744 MB / 0.8139 GB, free: 284 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.7006, allocations: 16 kB / 0.8139 GB, free: 268 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.7006, allocations: 0 / 0.8139 GB, free: 268 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.407e-05/0.7006, allocations: 7.969 kB / 0.8139 GB, free: 260 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006529/0.7072, allocations: 3.268 MB / 0.8171 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.7072, allocations: 0 / 0.8171 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001434/0.7086, allocations: 311.5 kB / 0.8174 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007431/0.7094, allocations: 188.1 kB / 0.8176 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.742e-05/0.7095, allocations: 35.97 kB / 0.8176 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005773/0.7153, allocations: 7.32 MB / 0.8247 GB, free: 4.344 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.7153, allocations: 7.922 kB / 0.8248 GB, free: 4.336 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003687/0.719, allocations: 1.605 MB / 0.8263 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006936/0.7197, allocations: 387 kB / 0.8267 GB, free: 2.301 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/0.7199, allocations: 28 kB / 0.8267 GB, free: 2.273 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/0.7211, allocations: 91.11 kB / 0.8268 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002395/0.7213, allocations: 105.2 kB / 0.8269 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/0.7215, allocations: 67.89 kB / 0.827 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007651/0.7222, allocations: 0.5499 MB / 0.8275 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2e-07/0.7222, allocations: 3.938 kB / 0.8275 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001503/0.7237, allocations: 0.5492 MB / 0.828 GB, free: 0.9023 MB / 0.6387 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.005628/0.7294, allocations: 2.761 MB / 0.8307 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004789/0.7342, allocations: 2.168 MB / 0.8329 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.7342, allocations: 0.7969 kB / 0.8329 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00208/0.7363, allocations: 1.27 MB / 0.8341 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002374/0.7387, allocations: 0.498 MB / 0.8346 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01849/0.7572, allocations: 10.06 MB / 0.8444 GB, free: 15.87 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008385/0.7581, allocations: 1.273 MB / 0.8457 GB, free: 14.57 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00194/0.76, allocations: 421.8 kB / 0.8461 GB, free: 14.15 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008598/0.7609, allocations: 0.6242 MB / 0.8467 GB, free: 13.53 MB / 0.67 GB Notification: Performance of SimCode: time 1.072e-06/0.7609, allocations: 0 / 0.8467 GB, free: 13.53 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3626/1.124, allocations: 34.93 MB / 0.8808 GB, free: 214.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/13.31, allocations: 11.91 kB / 0.8808 GB, free: 214.7 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise_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_CpLowRise.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)