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.001741/0.001741, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.002016/0.002016, allocations: 197.1 kB / 16.25 MB, free: 6.625 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.735/1.735, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.23/1.23, allocations: 135.1 MB / 425.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 64.31 kB / 0.505 GB, free: 5.547 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2352, allocations: 80.92 MB / 0.584 GB, free: 4.793 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise): time 0.7172/0.9525, allocations: 164.5 MB / 0.7446 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.04357/0.9961, allocations: 16.65 MB / 0.7609 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002888/0.9991, allocations: 27.81 kB / 0.7609 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003417/1.003, allocations: 433.4 kB / 0.7613 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009538/1.012, allocations: 1.346 MB / 0.7626 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007216/1.019, allocations: 1.163 MB / 0.7638 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005819/1.025, allocations: 2.354 MB / 0.7661 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005491/1.031, allocations: 1.893 MB / 0.7679 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01017/1.041, allocations: 1.261 MB / 0.7692 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002509/1.043, allocations: 0.9218 MB / 0.7701 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007963/1.044, allocations: 196 kB / 0.7703 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006401/1.051, allocations: 1.419 MB / 0.7716 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001328/1.052, allocations: 0.5258 MB / 0.7722 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002495/1.055, allocations: 0.9484 MB / 0.7731 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007847/1.063, allocations: 2.921 MB / 0.7759 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/1.063, allocations: 0 / 0.7759 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.893e-06/1.063, allocations: 0 / 0.7759 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001112/1.063, allocations: 4 kB / 0.7759 GB, free: 8.602 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.008127/1.071, allocations: 2.157 MB / 0.778 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.773e-05/1.071, allocations: 12.03 kB / 0.7781 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007182/1.072, allocations: 240.6 kB / 0.7783 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007831/1.08, allocations: 0.5012 MB / 0.7788 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003876/1.083, allocations: 1.047 MB / 0.7798 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002086/1.084, allocations: 127.3 kB / 0.7799 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006443/1.084, allocations: 163.9 kB / 0.7801 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006588/1.091, allocations: 1.78 MB / 0.7818 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.578e-05/1.091, allocations: 0 / 0.7818 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003671/1.091, allocations: 76 kB / 0.7819 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.312e-05/1.092, allocations: 40 kB / 0.7819 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005774/1.097, allocations: 1.823 MB / 0.7837 GB, free: 488 kB / 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.01379/1.111, allocations: 5.036 MB / 0.7886 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004944/1.116, allocations: 1.67 MB / 0.7902 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001923/1.118, allocations: 0.6254 MB / 0.7909 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001459/1.12, allocations: 0.8039 MB / 0.7916 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002873/1.122, allocations: 0.8253 MB / 0.7924 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=137): time 6.182e-06/1.123, allocations: 4 kB / 0.7925 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=137): time 0.01173/1.134, allocations: 2.427 MB / 0.7948 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001657/1.134, allocations: 193.2 kB / 0.795 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002251/1.137, allocations: 0.7868 MB / 0.7958 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000371/1.137, allocations: 53.7 kB / 0.7958 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009473/1.138, allocations: 0.625 MB / 0.7964 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008231/1.139, allocations: 461.2 kB / 0.7969 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000766/1.14, allocations: 230.7 kB / 0.7971 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002151/1.14, allocations: 353.9 kB / 0.7974 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001834/1.142, allocations: 442.4 kB / 0.7979 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0021/1.144, allocations: 0.5989 MB / 0.7984 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003871/1.148, allocations: 1.036 MB / 0.7995 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/1.148, allocations: 0 / 0.7995 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.006229/1.154, allocations: 1.425 MB / 0.8008 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/1.154, allocations: 7.938 kB / 0.8009 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/1.154, allocations: 0 / 0.8009 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001649/1.156, allocations: 192.1 kB / 0.801 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002724/1.159, allocations: 311.6 kB / 0.8013 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1776/1.336, allocations: 7.276 MB / 0.8084 GB, free: 5.645 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002606/1.339, allocations: 157 kB / 0.8086 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003309/1.339, allocations: 43.97 kB / 0.8086 GB, free: 5.449 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.001028/1.34, allocations: 361.6 kB / 0.809 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004832/1.341, allocations: 122.5 kB / 0.8091 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004221/1.345, allocations: 1.754 MB / 0.8108 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-05/1.345, allocations: 16 kB / 0.8108 GB, free: 3.172 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/1.345, allocations: 0 / 0.8108 GB, free: 3.172 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/1.345, allocations: 3.984 kB / 0.8108 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005996/1.351, allocations: 3.268 MB / 0.814 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/1.351, allocations: 0 / 0.814 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001438/1.353, allocations: 307.5 kB / 0.8143 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007825/1.353, allocations: 184.1 kB / 0.8145 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/1.354, allocations: 39.97 kB / 0.8145 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005597/1.359, allocations: 7.324 MB / 0.8217 GB, free: 7.258 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.359, allocations: 3.938 kB / 0.8217 GB, free: 7.254 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003575/1.363, allocations: 1.613 MB / 0.8233 GB, free: 5.609 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007568/1.364, allocations: 379.1 kB / 0.8236 GB, free: 5.219 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002398/1.364, allocations: 28 kB / 0.8236 GB, free: 5.191 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/1.365, allocations: 111.7 kB / 0.8237 GB, free: 5.082 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002521/1.365, allocations: 101.1 kB / 0.8238 GB, free: 4.984 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001677/1.366, allocations: 63.95 kB / 0.8239 GB, free: 4.922 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008935/1.366, allocations: 0.5539 MB / 0.8244 GB, free: 4.355 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.9e-07/1.367, allocations: 7.938 kB / 0.8245 GB, free: 4.348 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001642/1.368, allocations: 0.5493 MB / 0.825 GB, free: 3.797 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.005562/1.374, allocations: 2.773 MB / 0.8277 GB, free: 1.18 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004856/1.379, allocations: 2.16 MB / 0.8298 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/1.379, allocations: 4.797 kB / 0.8298 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00191/1.381, allocations: 1.266 MB / 0.831 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002507/1.383, allocations: 0.502 MB / 0.8315 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02694/1.41, allocations: 10.74 MB / 0.842 GB, free: 2.07 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001893/1.412, allocations: 1.273 MB / 0.8433 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004068/1.416, allocations: 429.7 kB / 0.8437 GB, free: 348 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001816/1.418, allocations: 0.6165 MB / 0.8443 GB, free: 15.72 MB / 0.67 GB Notification: Performance of SimCode: time 1.573e-06/1.418, allocations: 0 / 0.8443 GB, free: 15.72 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.779/3.197, allocations: 34.78 MB / 0.8782 GB, free: 217.4 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002733/3.197, allocations: 277.1 kB / 0.8785 GB, free: 217 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.178/8.374, allocations: 0 / 0.8785 GB, free: 217 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)