Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: translateModel(IBPSA.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData") translateModel(IBPSA.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 105 kB / 16.52 MB, free: 6.727 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.001323/0.001322, allocations: 195.2 kB / 17.45 MB, free: 6.051 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.308/1.308, allocations: 222.9 MB / 241.1 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.725/0.725, allocations: 115.3 MB / 406.6 MB, free: 6.391 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 63.91 kB / 493.5 MB, free: 0.8633 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.363, allocations: 76.18 MB / 0.5564 GB, free: 36.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData): time 0.1678/0.5309, allocations: 166 MB / 0.7185 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02311/0.554, allocations: 17.39 MB / 0.7355 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00215/0.5562, allocations: 27.81 kB / 0.7355 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001941/0.5582, allocations: 485 kB / 0.736 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005785/0.564, allocations: 1.586 MB / 0.7375 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003871/0.5679, allocations: 1.27 MB / 0.7388 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00425/0.5722, allocations: 3.093 MB / 0.7418 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002864/0.5751, allocations: 1.803 MB / 0.7436 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005495/0.5806, allocations: 1.269 MB / 0.7448 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001815/0.5824, allocations: 1.093 MB / 0.7459 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004954/0.5829, allocations: 116 kB / 0.746 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003494/0.5864, allocations: 1.583 MB / 0.7475 GB, free: 348 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.3645/0.9509, allocations: 0.685 MB / 0.7482 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002324/0.9533, allocations: 1.119 MB / 0.7493 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004321/0.9577, allocations: 2.649 MB / 0.7519 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.9577, allocations: 3.75 kB / 0.7519 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.994e-06/0.9577, allocations: 1.203 kB / 0.7519 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.617e-05/0.9578, allocations: 0.8125 kB / 0.7519 GB, free: 6.809 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.006653/0.9645, allocations: 2.753 MB / 0.7546 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.9645, allocations: 13.09 kB / 0.7546 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00441/0.9689, allocations: 0.555 MB / 0.7551 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003399/0.9724, allocations: 1.593 MB / 0.7567 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/0.9725, allocations: 130.1 kB / 0.7568 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003122/0.9728, allocations: 169.4 kB / 0.757 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004392/0.9772, allocations: 1.944 MB / 0.7589 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.653e-05/0.9773, allocations: 1.344 kB / 0.7589 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001919/0.9775, allocations: 75.27 kB / 0.7589 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.263e-05/0.9776, allocations: 40.62 kB / 0.759 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004477/0.982, allocations: 2.087 MB / 0.761 GB, free: 4.68 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.01042/0.9925, allocations: 6.061 MB / 0.7669 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00357/0.9961, allocations: 2.097 MB / 0.769 GB, free: 17.95 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001374/0.9975, allocations: 0.7626 MB / 0.7697 GB, free: 17.93 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006599/0.9982, allocations: 433 kB / 0.7701 GB, free: 17.55 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001894/1, allocations: 1.001 MB / 0.7711 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=146): time 3.477e-06/1, allocations: 0.7188 kB / 0.7711 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=146): time 0.007124/1.007, allocations: 2.954 MB / 0.774 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/1.007, allocations: 196.5 kB / 0.7742 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002436/1.01, allocations: 1.792 MB / 0.7759 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003462/1.01, allocations: 57.86 kB / 0.776 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006755/1.011, allocations: 0.8307 MB / 0.7768 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004304/1.011, allocations: 493.3 kB / 0.7773 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003871/1.012, allocations: 255.2 kB / 0.7775 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001252/1.012, allocations: 358.8 kB / 0.7779 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/1.013, allocations: 0.591 MB / 0.7784 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/1.014, allocations: 0.7993 MB / 0.7792 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00204/1.016, allocations: 1.331 MB / 0.7805 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/1.016, allocations: 1.203 kB / 0.7805 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003937/1.02, allocations: 1.811 MB / 0.7823 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/1.02, allocations: 7.594 kB / 0.7823 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/1.02, allocations: 0.6094 kB / 0.7823 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/1.021, allocations: 217.2 kB / 0.7825 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/1.023, allocations: 332.1 kB / 0.7828 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005759/1.029, allocations: 6.804 MB / 0.7895 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002305/1.031, allocations: 184.6 kB / 0.7896 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003432/1.031, allocations: 58.08 kB / 0.7897 GB, free: 8.559 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 147 * 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.001666/1.033, allocations: 481.7 kB / 0.7902 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008977/1.034, allocations: 186.2 kB / 0.7903 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005127/1.039, allocations: 2.123 MB / 0.7924 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.122e-05/1.039, allocations: 20.55 kB / 0.7924 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.737e-05/1.039, allocations: 2.625 kB / 0.7924 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.529e-05/1.039, allocations: 7.453 kB / 0.7924 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009206/1.048, allocations: 3.994 MB / 0.7963 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/1.048, allocations: 0 / 0.7963 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001472/1.05, allocations: 313 kB / 0.7966 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009994/1.051, allocations: 222.6 kB / 0.7968 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001626/1.051, allocations: 39.16 kB / 0.7969 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005535/1.057, allocations: 6.83 MB / 0.8036 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/1.057, allocations: 4.578 kB / 0.8036 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005133/1.062, allocations: 1.987 MB / 0.8055 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001599/1.063, allocations: 477 kB / 0.806 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007496/1.064, allocations: 26.31 kB / 0.806 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002112/1.066, allocations: 130 kB / 0.8061 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003965/1.067, allocations: 113.3 kB / 0.8062 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003083/1.067, allocations: 74.47 kB / 0.8063 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002763/1.07, allocations: 1.282 MB / 0.8075 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.41e-07/1.07, allocations: 0 / 0.8075 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003334/1.073, allocations: 0.6848 MB / 0.8082 GB, free: 0.5391 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00266/1.076, allocations: 0.749 MB / 0.8089 GB, free: 348 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003995/1.08, allocations: 2.083 MB / 0.811 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/1.08, allocations: 4.75 kB / 0.811 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002331/1.082, allocations: 1.404 MB / 0.8123 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003946/1.086, allocations: 0.5183 MB / 0.8128 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008607/1.095, allocations: 4.481 MB / 0.8172 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001593/1.096, allocations: 1.484 MB / 0.8187 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001033/1.097, allocations: 196.7 kB / 0.8189 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of SimCode: time 1.122e-06/1.097, allocations: 0 / 0.8189 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of Templates: time 0.07608/1.174, allocations: 66.89 MB / 0.8842 GB, free: 12.65 MB / 0.67 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.sim & ./IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)