Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Specification",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.001134/0.001134, allocations: 108 kB / 15.6 MB, free: 132 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.001112/0.001112, allocations: 194.1 kB / 16.53 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 1.247/1.247, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002044/0.002044, allocations: 285.7 kB / 290.7 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9151/0.9151, allocations: 169.2 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002466/0.002466, allocations: 100.6 kB / 0.5953 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1701, allocations: 86.97 MB / 0.6803 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.4576/0.6277, allocations: 154 MB / 0.8307 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01109/0.6388, allocations: 10.49 MB / 0.8409 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008177/0.6397, allocations: 26.22 kB / 0.8409 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007587/0.6405, allocations: 267.8 kB / 0.8412 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002563/0.6431, allocations: 0.9283 MB / 0.8421 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002296/0.6454, allocations: 1.066 MB / 0.8431 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001491/0.6469, allocations: 1.626 MB / 0.8447 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.6481, allocations: 1.186 MB / 0.8459 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001375/0.6495, allocations: 0.7087 MB / 0.8466 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005811/0.6501, allocations: 0.6094 MB / 0.8472 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001551/0.6503, allocations: 135.2 kB / 0.8473 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001656/0.6519, allocations: 0.9955 MB / 0.8483 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002773/0.6522, allocations: 383.2 kB / 0.8486 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004956/0.6527, allocations: 0.6658 MB / 0.8493 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002242/0.655, allocations: 2.165 MB / 0.8514 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.655, allocations: 0 / 0.8514 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.655, allocations: 4 kB / 0.8514 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.008e-05/0.655, allocations: 0 / 0.8514 GB, free: 10.1 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002607/0.6576, allocations: 1.719 MB / 0.8531 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.6577, allocations: 10.12 kB / 0.8531 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001606/0.6579, allocations: 155.4 kB / 0.8533 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001527/0.6594, allocations: 269.6 kB / 0.8535 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.6606, allocations: 1.056 MB / 0.8545 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.552e-05/0.6606, allocations: 73.94 kB / 0.8546 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.6607, allocations: 94.97 kB / 0.8547 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.6624, allocations: 1.108 MB / 0.8558 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.6624, allocations: 0 / 0.8558 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.49e-05/0.6625, allocations: 42.25 kB / 0.8558 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.75e-05/0.6625, allocations: 24.88 kB / 0.8558 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002012/0.6646, allocations: 1.313 MB / 0.8571 GB, free: 6.375 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.004438/0.669, allocations: 3.297 MB / 0.8604 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/0.6708, allocations: 1.096 MB / 0.8614 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007124/0.6716, allocations: 422.5 kB / 0.8618 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002054/0.6718, allocations: 141.5 kB / 0.862 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009822/0.6728, allocations: 0.6258 MB / 0.8626 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=95): time 2.484e-06/0.6728, allocations: 4 kB / 0.8626 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95): time 0.003876/0.6767, allocations: 1.629 MB / 0.8642 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.6768, allocations: 194.5 kB / 0.8644 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.678, allocations: 1.029 MB / 0.8654 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.684e-05/0.6781, allocations: 45.27 kB / 0.8654 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003539/0.6784, allocations: 472.1 kB / 0.8658 GB, free: 484 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/0.6787, allocations: 309.2 kB / 0.8661 GB, free: 216 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002718/0.679, allocations: 169.2 kB / 0.8663 GB, free: 112 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.6791, allocations: 339.4 kB / 0.8666 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006529/0.6798, allocations: 336.8 kB / 0.8669 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007451/0.6805, allocations: 475.5 kB / 0.8674 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/0.6819, allocations: 0.7634 MB / 0.8681 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.682, allocations: 0 / 0.8681 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002412/0.6844, allocations: 1.038 MB / 0.8692 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.6844, allocations: 4.875 kB / 0.8692 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.6844, allocations: 0 / 0.8692 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007364/0.6852, allocations: 122.2 kB / 0.8693 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008277/0.686, allocations: 195.4 kB / 0.8695 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002861/0.6889, allocations: 3.067 MB / 0.8725 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007875/0.6897, allocations: 111.8 kB / 0.8726 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.934e-05/0.6898, allocations: 34.56 kB / 0.8726 GB, free: 11.12 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: 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 (100): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004318/0.6902, allocations: 310.1 kB / 0.8729 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.6904, allocations: 104.7 kB / 0.873 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002791/0.6932, allocations: 1.314 MB / 0.8743 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.6932, allocations: 20.27 kB / 0.8743 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.6932, allocations: 0 / 0.8743 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.6932, allocations: 7.984 kB / 0.8743 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003803/0.6971, allocations: 2.46 MB / 0.8767 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.6971, allocations: 0 / 0.8767 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007683/0.6978, allocations: 187.6 kB / 0.8769 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005366/0.6984, allocations: 102.4 kB / 0.877 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.81e-05/0.6985, allocations: 35.56 kB / 0.877 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002589/0.7011, allocations: 3.087 MB / 0.88 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.7011, allocations: 7.922 kB / 0.88 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002373/0.7035, allocations: 1.226 MB / 0.8812 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000423/0.7039, allocations: 328.4 kB / 0.8816 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/0.7041, allocations: 27.98 kB / 0.8816 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008326/0.7049, allocations: 71.92 kB / 0.8817 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.7051, allocations: 88.81 kB / 0.8817 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.272e-05/0.7052, allocations: 43.97 kB / 0.8818 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008286/0.706, allocations: 0.7528 MB / 0.8825 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.706, allocations: 0 / 0.8825 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001111/0.7071, allocations: 435.2 kB / 0.8829 GB, free: 2.91 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.004161/0.7113, allocations: 2.402 MB / 0.8853 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002933/0.7143, allocations: 1.361 MB / 0.8866 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.7143, allocations: 0 / 0.8866 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001213/0.7155, allocations: 0.7332 MB / 0.8873 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/0.7169, allocations: 357.9 kB / 0.8877 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01436/0.7313, allocations: 8.783 MB / 0.8962 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008109/0.7321, allocations: 1.118 MB / 0.8973 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001148/0.7333, allocations: 307.8 kB / 0.8976 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006312/0.7339, allocations: 467.2 kB / 0.8981 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of SimCode: time 7.81e-07/0.734, allocations: 0 / 0.8981 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05883/0.7928, allocations: 27.61 MB / 0.925 GB, free: 8.105 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/12.13, allocations: 6.875 kB / 0.925 GB, free: 8.102 MB / 0.6387 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)