Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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_CpLowRise,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="IDEAS_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.001796/0.001796, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002355/0.002356, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.448/2.448, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.301/1.301, allocations: 132.2 MB / 423.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004979/0.0004982, allocations: 11.94 kB / 0.5033 GB, free: 4.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8828/0.8834, allocations: 81.58 MB / 0.583 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise): time 0.3119/1.195, allocations: 140 MB / 0.7197 GB, free: 4.305 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.032/1.227, allocations: 13.83 MB / 0.7332 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002113/1.23, allocations: 27.81 kB / 0.7332 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002202/1.232, allocations: 310.2 kB / 0.7335 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007809/1.24, allocations: 1.19 MB / 0.7346 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005804/1.246, allocations: 0.9915 MB / 0.7356 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005553/1.251, allocations: 1.416 MB / 0.737 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004534/1.256, allocations: 1.406 MB / 0.7384 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003436/1.259, allocations: 0.8211 MB / 0.7392 GB, free: 272 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001833/1.261, allocations: 0.5634 MB / 0.7397 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005438/1.262, allocations: 40 kB / 0.7398 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005105/1.267, allocations: 0.8971 MB / 0.7406 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001151/1.268, allocations: 318.7 kB / 0.7409 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001043/1.269, allocations: 320.8 kB / 0.7413 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005277/1.274, allocations: 2.069 MB / 0.7433 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/1.274, allocations: 0 / 0.7433 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.505e-06/1.274, allocations: 0 / 0.7433 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.093e-05/1.274, allocations: 0 / 0.7433 GB, free: 12.05 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: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.005815/1.28, allocations: 1.785 MB / 0.745 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/1.28, allocations: 12.03 kB / 0.745 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006635/1.281, allocations: 240.6 kB / 0.7453 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006322/1.287, allocations: 0.5128 MB / 0.7458 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00409/1.291, allocations: 1.012 MB / 0.7467 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002267/1.292, allocations: 127.3 kB / 0.7469 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004691/1.292, allocations: 164 kB / 0.747 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006159/1.298, allocations: 1.752 MB / 0.7487 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.527e-05/1.298, allocations: 4 kB / 0.7487 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00032/1.299, allocations: 83.88 kB / 0.7488 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-05/1.299, allocations: 40 kB / 0.7489 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005831/1.305, allocations: 1.823 MB / 0.7506 GB, free: 4.34 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.01457/1.319, allocations: 5.047 MB / 0.7556 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004961/1.324, allocations: 1.411 MB / 0.7569 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008501/1.325, allocations: 470.8 kB / 0.7574 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002634/1.328, allocations: 0.81 MB / 0.7582 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=137): time 4.569e-06/1.328, allocations: 3.938 kB / 0.7582 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=137): time 0.01005/1.338, allocations: 2.426 MB / 0.7606 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001938/1.338, allocations: 197.2 kB / 0.7607 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001972/1.34, allocations: 0.7828 MB / 0.7615 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003362/1.341, allocations: 53.7 kB / 0.7616 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001094/1.342, allocations: 0.625 MB / 0.7622 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007485/1.343, allocations: 453.3 kB / 0.7626 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/1.343, allocations: 24 kB / 0.7626 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002203/1.343, allocations: 357.9 kB / 0.763 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001647/1.345, allocations: 434.4 kB / 0.7634 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001968/1.347, allocations: 0.5872 MB / 0.764 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001864/1.348, allocations: 0.51 MB / 0.7645 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/1.348, allocations: 0 / 0.7645 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.006017/1.354, allocations: 1.405 MB / 0.7658 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.556e-05/1.355, allocations: 4 kB / 0.7658 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.483e-05/1.355, allocations: 4 kB / 0.7658 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001539/1.356, allocations: 192.2 kB / 0.766 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002962/1.359, allocations: 319.5 kB / 0.7663 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01267/1.372, allocations: 6.81 MB / 0.773 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002808/1.375, allocations: 154.9 kB / 0.7731 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003748/1.375, allocations: 47.97 kB / 0.7732 GB, free: 11.96 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001858/1.377, allocations: 354.1 kB / 0.7735 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006572/1.378, allocations: 130.5 kB / 0.7736 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00706/1.385, allocations: 1.744 MB / 0.7753 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-05/1.385, allocations: 19.94 kB / 0.7753 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/1.385, allocations: 0 / 0.7753 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-05/1.385, allocations: 7.969 kB / 0.7754 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01044/1.395, allocations: 3.112 MB / 0.7784 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.811e-05/1.395, allocations: 8 kB / 0.7784 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002468/1.398, allocations: 323.8 kB / 0.7787 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001297/1.399, allocations: 188.1 kB / 0.7789 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000165/1.399, allocations: 43.97 kB / 0.7789 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009581/1.409, allocations: 6.852 MB / 0.7856 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.409, allocations: 0 / 0.7856 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006703/1.416, allocations: 1.76 MB / 0.7873 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001492/1.417, allocations: 399 kB / 0.7877 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003376/1.418, allocations: 27.98 kB / 0.7877 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002017/1.42, allocations: 127.8 kB / 0.7879 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004016/1.42, allocations: 113 kB / 0.788 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002878/1.42, allocations: 67.95 kB / 0.788 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001397/1.422, allocations: 0.546 MB / 0.7886 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.5e-07/1.422, allocations: 0 / 0.7886 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003051/1.425, allocations: 0.5532 MB / 0.7891 GB, free: 10.66 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.009847/1.435, allocations: 3.457 MB / 0.7925 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.006795/1.442, allocations: 1.739 MB / 0.7942 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.636e-05/1.442, allocations: 0.7969 kB / 0.7942 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004551/1.446, allocations: 1.266 MB / 0.7954 GB, free: 4.191 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005072/1.452, allocations: 468.8 kB / 0.7959 GB, free: 3.75 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03308/1.485, allocations: 8.443 MB / 0.8041 GB, free: 11 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001835/1.487, allocations: 1.307 MB / 0.8054 GB, free: 9.66 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00374/1.49, allocations: 425.8 kB / 0.8058 GB, free: 9.242 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001751/1.492, allocations: 0.6242 MB / 0.8064 GB, free: 8.617 MB / 0.6387 GB Notification: Performance of SimCode: time 2.214e-06/1.492, allocations: 0 / 0.8064 GB, free: 8.617 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6611/2.153, allocations: 35.36 MB / 0.8409 GB, free: 203.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002893/2.154, allocations: 241.8 kB / 0.8412 GB, free: 203 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.946/7.1, allocations: 0 / 0.8412 GB, free: 203 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) Environment - environmentSimulation: