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.001135/0.001135, allocations: 98.81 kB / 16.02 MB, free: 76 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.001815/0.001815, allocations: 179.7 kB / 16.92 MB, free: 6.922 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.405/1.405, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6725/0.6725, allocations: 115.5 MB / 407.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000297/0.0002969, allocations: 12 kB / 495.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1394, allocations: 77.54 MB / 0.56 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData): time 0.4096/0.549, allocations: 163.8 MB / 0.72 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01922/0.5682, allocations: 17.15 MB / 0.7368 GB, free: 1.773 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.5694, allocations: 27.81 kB / 0.7368 GB, free: 1.746 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.5706, allocations: 485 kB / 0.7372 GB, free: 1.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003601/0.5742, allocations: 1.592 MB / 0.7388 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002752/0.577, allocations: 1.279 MB / 0.7401 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002825/0.5798, allocations: 3.089 MB / 0.7431 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001917/0.5817, allocations: 1.664 MB / 0.7447 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004132/0.5859, allocations: 1.106 MB / 0.7458 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009979/0.5869, allocations: 0.9057 MB / 0.7467 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.587, allocations: 48 kB / 0.7467 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00242/0.5895, allocations: 1.509 MB / 0.7482 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004689/0.5899, allocations: 0.5876 MB / 0.7488 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008775/0.5908, allocations: 1.058 MB / 0.7498 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003195/0.594, allocations: 3.527 MB / 0.7532 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.594, allocations: 0 / 0.7532 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5941, allocations: 0 / 0.7532 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.384e-05/0.5941, allocations: 0 / 0.7532 GB, free: 0.8711 MB / 0.5606 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.003779/0.5979, allocations: 2.425 MB / 0.7556 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.5979, allocations: 8.031 kB / 0.7556 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002893/0.5982, allocations: 248.8 kB / 0.7558 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003529/0.6017, allocations: 0.5862 MB / 0.7564 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003495/0.6052, allocations: 3.378 MB / 0.7597 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.715e-05/0.6054, allocations: 135.4 kB / 0.7598 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002262/0.6056, allocations: 172 kB / 0.76 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003095/0.6087, allocations: 1.941 MB / 0.7619 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.6087, allocations: 4 kB / 0.7619 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001706/0.6089, allocations: 76 kB / 0.762 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.04e-05/0.6089, allocations: 40 kB / 0.762 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003355/0.6123, allocations: 2.097 MB / 0.7641 GB, free: 5.586 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.008188/0.6205, allocations: 6.632 MB / 0.7705 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003107/0.6236, allocations: 2.103 MB / 0.7726 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001202/0.6248, allocations: 0.7607 MB / 0.7733 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005198/0.6254, allocations: 433.5 kB / 0.7738 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001657/0.627, allocations: 1.005 MB / 0.7747 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=146): time 2.785e-06/0.6271, allocations: 0 / 0.7747 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=146): time 0.006314/0.6334, allocations: 2.981 MB / 0.7776 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.232e-05/0.6335, allocations: 201.2 kB / 0.7778 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004089/0.6376, allocations: 4.056 MB / 0.7818 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001347/0.6377, allocations: 61.7 kB / 0.7819 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006959/0.6384, allocations: 0.8905 MB / 0.7827 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003761/0.6388, allocations: 481 kB / 0.7832 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.639, allocations: 93.66 kB / 0.7833 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.6391, allocations: 353.9 kB / 0.7836 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/0.6402, allocations: 0.5842 MB / 0.7842 GB, free: 284 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001214/0.6414, allocations: 0.797 MB / 0.785 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002237/0.6436, allocations: 1.318 MB / 0.7862 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.6436, allocations: 0 / 0.7862 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003492/0.6471, allocations: 1.783 MB / 0.788 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.6472, allocations: 4 kB / 0.788 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.6472, allocations: 4 kB / 0.788 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/0.6483, allocations: 220.1 kB / 0.7882 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.6497, allocations: 327.6 kB / 0.7885 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005261/0.655, allocations: 6.806 MB / 0.7952 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/0.6564, allocations: 189.6 kB / 0.7953 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-05/0.6565, allocations: 59.84 kB / 0.7954 GB, free: 4 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: 15 (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 (144): * Single equations (assignments): 139 * 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.0007969/0.6573, allocations: 485.4 kB / 0.7959 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002631/0.6576, allocations: 193.6 kB / 0.796 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004294/0.6619, allocations: 2.142 MB / 0.7981 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.6619, allocations: 16 kB / 0.7982 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.6619, allocations: 7.875 kB / 0.7982 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.6619, allocations: 15.97 kB / 0.7982 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006368/0.6683, allocations: 4.106 MB / 0.8022 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.6683, allocations: 3.984 kB / 0.8022 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/0.6698, allocations: 315.6 kB / 0.8025 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009809/0.6708, allocations: 228 kB / 0.8027 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-05/0.6709, allocations: 43.95 kB / 0.8028 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005138/0.676, allocations: 6.835 MB / 0.8094 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.676, allocations: 4.062 kB / 0.8094 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003881/0.6799, allocations: 1.999 MB / 0.8114 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008186/0.6807, allocations: 0.5253 MB / 0.8119 GB, free: 2.246 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002191/0.681, allocations: 35.94 kB / 0.8119 GB, free: 2.211 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/0.6824, allocations: 153.4 kB / 0.8121 GB, free: 2.066 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002255/0.6826, allocations: 121.1 kB / 0.8122 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/0.6828, allocations: 67.95 kB / 0.8123 GB, free: 1.883 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003121/0.6859, allocations: 3.12 MB / 0.8153 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6859, allocations: 3.938 kB / 0.8153 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001715/0.6877, allocations: 0.686 MB / 0.816 GB, free: 14.08 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: 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.005624/0.6933, allocations: 3.219 MB / 0.8191 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003362/0.6967, allocations: 2.051 MB / 0.8211 GB, free: 8.906 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.6967, allocations: 0.5625 kB / 0.8211 GB, free: 8.906 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00194/0.6986, allocations: 1.426 MB / 0.8225 GB, free: 7.418 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002555/0.7012, allocations: 0.5076 MB / 0.823 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2954/0.9966, allocations: 23.16 MB / 0.8456 GB, free: 221.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001285/0.998, allocations: 1.525 MB / 0.8471 GB, free: 220.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002241/1, allocations: 0.5249 MB / 0.8476 GB, free: 220.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001101/1.001, allocations: 0.9038 MB / 0.8485 GB, free: 220.1 MB / 0.6387 GB Notification: Performance of SimCode: time 8.31e-07/1.001, allocations: 0 / 0.8485 GB, free: 220.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06589/1.067, allocations: 46.04 MB / 0.8935 GB, free: 186.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001504/1.067, allocations: 281.9 kB / 0.8937 GB, free: 186 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.36/4.428, allocations: 11.77 kB / 0.8938 GB, free: 186 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/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)