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: "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IBPSA_latest_IBPSA_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.001466/0.001465, allocations: 95.33 kB / 15.68 MB, free: 488 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.001528/0.001528, allocations: 169.1 kB / 16.57 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 2.617/2.617, allocations: 223.2 MB / 240.5 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.295/1.295, allocations: 113.7 MB / 405.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000639/0.0006393, allocations: 8 kB / 493 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3094, allocations: 77.11 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData): time 1.061/1.371, allocations: 140.3 MB / 0.6937 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0407/1.412, allocations: 14.16 MB / 0.7075 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002727/1.415, allocations: 27.81 kB / 0.7075 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002249/1.417, allocations: 350 kB / 0.7079 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.008971/1.426, allocations: 1.325 MB / 0.7092 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006342/1.432, allocations: 1.115 MB / 0.7103 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005903/1.438, allocations: 1.584 MB / 0.7118 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004525/1.443, allocations: 1.497 MB / 0.7133 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004467/1.447, allocations: 0.9302 MB / 0.7142 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002919/1.45, allocations: 0.7193 MB / 0.7149 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0007715/1.451, allocations: 48 kB / 0.7149 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005969/1.457, allocations: 0.983 MB / 0.7159 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001453/1.459, allocations: 0.5645 MB / 0.7164 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0013/1.46, allocations: 420.3 kB / 0.7168 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007427/1.467, allocations: 2.632 MB / 0.7194 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/1.467, allocations: 0 / 0.7194 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.835e-06/1.467, allocations: 0 / 0.7194 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001762/1.468, allocations: 0 / 0.7194 GB, free: 3.508 MB / 0.5294 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.01093/1.479, allocations: 2.418 MB / 0.7218 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 7.574e-05/1.479, allocations: 8.031 kB / 0.7218 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001209/1.48, allocations: 248.8 kB / 0.722 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0076/1.488, allocations: 0.5823 MB / 0.7226 GB, free: 176 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00987/1.498, allocations: 3.317 MB / 0.7258 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002515/1.498, allocations: 131.4 kB / 0.7259 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007561/1.499, allocations: 168 kB / 0.7261 GB, free: 12.51 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006717/1.505, allocations: 1.917 MB / 0.728 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.766e-05/1.505, allocations: 4 kB / 0.728 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003702/1.506, allocations: 79.98 kB / 0.7281 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.929e-05/1.506, allocations: 40 kB / 0.7281 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006596/1.513, allocations: 2.085 MB / 0.7301 GB, free: 8.332 MB / 0.545 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.02023/1.533, allocations: 6.223 MB / 0.7362 GB, free: 1.852 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006217/1.539, allocations: 1.841 MB / 0.738 GB, free: 12 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003968/1.54, allocations: 81.23 kB / 0.7381 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003018/1.543, allocations: 0.9895 MB / 0.7391 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=146): time 5.41e-06/1.543, allocations: 0 / 0.7391 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=146): time 0.01176/1.554, allocations: 2.964 MB / 0.7419 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002341/1.555, allocations: 197.2 kB / 0.7421 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009627/1.564, allocations: 4.037 MB / 0.7461 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007442/1.565, allocations: 61.7 kB / 0.7461 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001728/1.567, allocations: 0.8905 MB / 0.747 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001396/1.568, allocations: 481 kB / 0.7475 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/1.568, allocations: 20 kB / 0.7475 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0004063/1.569, allocations: 357.9 kB / 0.7478 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002113/1.571, allocations: 0.5609 MB / 0.7484 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002383/1.573, allocations: 0.7852 MB / 0.7491 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002223/1.576, allocations: 0.6427 MB / 0.7498 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/1.576, allocations: 4 kB / 0.7498 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.007936/1.584, allocations: 1.76 MB / 0.7515 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.902e-05/1.584, allocations: 10.34 kB / 0.7515 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/1.584, allocations: 0 / 0.7515 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002357/1.586, allocations: 216.2 kB / 0.7517 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002869/1.589, allocations: 327.6 kB / 0.752 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01143/1.601, allocations: 6.852 MB / 0.7587 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003837/1.604, allocations: 184.6 kB / 0.7589 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006174/1.605, allocations: 51.95 kB / 0.7589 GB, free: 9.598 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 139 * 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.002943/1.608, allocations: 489.5 kB / 0.7594 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001541/1.61, allocations: 193.6 kB / 0.7596 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/1.62, allocations: 2.137 MB / 0.7617 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.959e-05/1.62, allocations: 16 kB / 0.7617 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.94e-05/1.62, allocations: 4 kB / 0.7617 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-05/1.62, allocations: 7.969 kB / 0.7617 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01705/1.637, allocations: 3.922 MB / 0.7655 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.77e-05/1.637, allocations: 4 kB / 0.7655 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002504/1.64, allocations: 319.6 kB / 0.7658 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001555/1.641, allocations: 224.2 kB / 0.7661 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003765/1.642, allocations: 43.95 kB / 0.7661 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009833/1.651, allocations: 6.887 MB / 0.7728 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-05/1.652, allocations: 7.953 kB / 0.7728 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008842/1.66, allocations: 2.171 MB / 0.7749 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002947/1.663, allocations: 0.5215 MB / 0.7755 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001306/1.665, allocations: 36 kB / 0.7755 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00368/1.669, allocations: 152.4 kB / 0.7756 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006928/1.669, allocations: 125.1 kB / 0.7758 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004889/1.67, allocations: 71.95 kB / 0.7758 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007192/1.677, allocations: 3.1 MB / 0.7789 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.72e-07/1.677, allocations: 0 / 0.7789 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005812/1.683, allocations: 0.6586 MB / 0.7795 GB, free: 3.594 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (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.01242/1.695, allocations: 3.903 MB / 0.7833 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.006219/1.702, allocations: 2.035 MB / 0.7853 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.23e-05/1.702, allocations: 4.797 kB / 0.7853 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004001/1.706, allocations: 1.431 MB / 0.7867 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005165/1.711, allocations: 473.8 kB / 0.7871 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05944/1.771, allocations: 19.52 MB / 0.8062 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002469/1.773, allocations: 1.583 MB / 0.8078 GB, free: 5.824 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.004598/1.778, allocations: 0.5365 MB / 0.8083 GB, free: 5.281 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003996/1.782, allocations: 0.8975 MB / 0.8092 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of SimCode: time 3.937e-06/1.782, allocations: 0 / 0.8092 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8366/2.619, allocations: 48.11 MB / 0.8561 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003078/2.619, allocations: 251.8 kB / 0.8564 GB, free: 215.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.841/8.46, allocations: 0 / 0.8564 GB, free: 215.8 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) Environment - environmentSimulation: