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.001404/0.001404, allocations: 103.3 kB / 16.4 MB, free: 6.492 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.001575/0.001575, allocations: 195.8 kB / 17.34 MB, free: 5.766 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7052/0.7052, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 72.5 kB / 0.5572 GB, free: 32.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1409, allocations: 76.18 MB / 0.6316 GB, free: 4.918 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData): time 0.5455/0.6864, allocations: 168.4 MB / 0.796 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02003/0.7065, allocations: 17.36 MB / 0.8129 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002505/0.7091, allocations: 31.66 kB / 0.813 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002143/0.7113, allocations: 0.5674 MB / 0.8135 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006166/0.7175, allocations: 1.775 MB / 0.8153 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004386/0.7219, allocations: 1.447 MB / 0.8167 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004932/0.7268, allocations: 2.866 MB / 0.8195 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003378/0.7302, allocations: 1.94 MB / 0.8214 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004807/0.735, allocations: 1.451 MB / 0.8228 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002297/0.7373, allocations: 1.107 MB / 0.8239 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006563/0.738, allocations: 220.9 kB / 0.8241 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003875/0.7419, allocations: 1.553 MB / 0.8256 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001012/0.7429, allocations: 0.8022 MB / 0.8264 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002179/0.7451, allocations: 1.27 MB / 0.8276 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005576/0.7507, allocations: 3.724 MB / 0.8313 GB, free: 472 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.7507, allocations: 0 / 0.8313 GB, free: 472 kB / 0.5919 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7507, allocations: 0 / 0.8313 GB, free: 472 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001174/0.7508, allocations: 0 / 0.8313 GB, free: 472 kB / 0.5919 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.006224/0.7571, allocations: 2.91 MB / 0.8341 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.7571, allocations: 7.844 kB / 0.8341 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004478/0.7576, allocations: 248.7 kB / 0.8343 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003811/0.7614, allocations: 0.5684 MB / 0.8349 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004404/0.7658, allocations: 3.423 MB / 0.8382 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/0.766, allocations: 129.9 kB / 0.8384 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003206/0.7663, allocations: 171.4 kB / 0.8385 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003809/0.7701, allocations: 1.954 MB / 0.8404 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.716e-05/0.7702, allocations: 0 / 0.8404 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002144/0.7704, allocations: 75 kB / 0.8405 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.394e-05/0.7704, allocations: 40 kB / 0.8405 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003691/0.7741, allocations: 2.089 MB / 0.8426 GB, free: 8.586 MB / 0.6075 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.01094/0.7851, allocations: 6.537 MB / 0.849 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003335/0.7884, allocations: 2.083 MB / 0.851 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001295/0.7898, allocations: 0.7652 MB / 0.8517 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005702/0.7904, allocations: 436.1 kB / 0.8522 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001743/0.7921, allocations: 1.005 MB / 0.8531 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=146): time 4.068e-06/0.7921, allocations: 0 / 0.8531 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of matching and sorting (n=146): time 0.00672/0.7989, allocations: 2.965 MB / 0.856 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.982e-05/0.799, allocations: 197.2 kB / 0.8562 GB, free: 10 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00472/0.8037, allocations: 4.06 MB / 0.8602 GB, free: 5.934 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001861/0.8039, allocations: 57.7 kB / 0.8602 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007675/0.8047, allocations: 0.8905 MB / 0.8611 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004392/0.8051, allocations: 477.5 kB / 0.8616 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004176/0.8056, allocations: 238.8 kB / 0.8618 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.8057, allocations: 357.9 kB / 0.8621 GB, free: 3.91 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.8068, allocations: 0.5725 MB / 0.8627 GB, free: 3.34 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/0.808, allocations: 0.7969 MB / 0.8635 GB, free: 2.48 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002264/0.8103, allocations: 1.31 MB / 0.8648 GB, free: 1.16 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.8103, allocations: 0 / 0.8648 GB, free: 1.16 MB / 0.6231 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003917/0.8142, allocations: 1.769 MB / 0.8665 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.8143, allocations: 7.938 kB / 0.8665 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.8143, allocations: 8.094 kB / 0.8665 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.8154, allocations: 216.1 kB / 0.8667 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.8168, allocations: 323.5 kB / 0.867 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00616/0.823, allocations: 7.311 MB / 0.8742 GB, free: 6.797 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/0.8247, allocations: 162.8 kB / 0.8743 GB, free: 6.637 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001701/0.8249, allocations: 51.97 kB / 0.8744 GB, free: 6.586 MB / 0.6387 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.001334/0.8262, allocations: 489.4 kB / 0.8748 GB, free: 6.098 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009345/0.8272, allocations: 197.6 kB / 0.875 GB, free: 5.902 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0051/0.8323, allocations: 2.122 MB / 0.8771 GB, free: 3.75 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.292e-05/0.8323, allocations: 19.98 kB / 0.8771 GB, free: 3.73 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/0.8323, allocations: 0 / 0.8771 GB, free: 3.73 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.779e-05/0.8324, allocations: 3.984 kB / 0.8771 GB, free: 3.727 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008268/0.8406, allocations: 4.119 MB / 0.8811 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.8407, allocations: 4 kB / 0.8811 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001414/0.8421, allocations: 307.6 kB / 0.8814 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009092/0.843, allocations: 216.1 kB / 0.8816 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/0.8431, allocations: 39.97 kB / 0.8817 GB, free: 15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005721/0.8489, allocations: 7.345 MB / 0.8888 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.8489, allocations: 4 kB / 0.8888 GB, free: 6.945 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004183/0.8531, allocations: 2.001 MB / 0.8908 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/0.8543, allocations: 0.5137 MB / 0.8913 GB, free: 4.371 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004473/0.8548, allocations: 28 kB / 0.8913 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/0.8563, allocations: 105.6 kB / 0.8914 GB, free: 4.242 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000237/0.8565, allocations: 117.1 kB / 0.8915 GB, free: 4.125 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002284/0.8568, allocations: 75.94 kB / 0.8916 GB, free: 4.051 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003815/0.8606, allocations: 3.112 MB / 0.8947 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8606, allocations: 0 / 0.8947 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00212/0.8627, allocations: 0.6821 MB / 0.8953 GB, free: 268 kB / 0.6544 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.006189/0.8689, allocations: 3.199 MB / 0.8984 GB, free: 13.23 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00343/0.8724, allocations: 2.059 MB / 0.9005 GB, free: 11.11 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.8724, allocations: 0.5625 kB / 0.9005 GB, free: 11.11 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002002/0.8744, allocations: 1.414 MB / 0.9018 GB, free: 9.633 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002858/0.8773, allocations: 0.5591 MB / 0.9024 GB, free: 9.102 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03065/0.908, allocations: 20.76 MB / 0.9227 GB, free: 4.109 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001607/0.9096, allocations: 1.526 MB / 0.9241 GB, free: 2.551 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001911/0.9115, allocations: 0.5213 MB / 0.9247 GB, free: 2.023 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001373/0.9129, allocations: 0.9054 MB / 0.9255 GB, free: 1.117 MB / 0.6856 GB Notification: Performance of SimCode: time 8.92e-07/0.9129, allocations: 0 / 0.9255 GB, free: 1.117 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09829/1.011, allocations: 49.83 MB / 0.9742 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.87/15.88, allocations: 4.062 kB / 0.9742 GB, free: 15.73 MB / 0.7481 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)