Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="BuildingSystems_BuildingSystems_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.001295/0.001295, 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.001408/0.001408, allocations: 192.4 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.282/1.282, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00209/0.002091, allocations: 282.9 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9043/0.9043, allocations: 169.3 MB / 0.4982 GB, free: 13.85 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 103.1 kB / 0.5953 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1453, allocations: 86.98 MB / 0.6803 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData): time 0.4706/0.6159, allocations: 167.1 MB / 0.8435 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02245/0.6384, allocations: 17.21 MB / 0.8603 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002158/0.6406, allocations: 30 kB / 0.8604 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001841/0.6425, allocations: 0.5376 MB / 0.8609 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005663/0.6482, allocations: 1.682 MB / 0.8625 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00382/0.652, allocations: 1.405 MB / 0.8639 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003487/0.6555, allocations: 2.644 MB / 0.8665 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00239/0.6579, allocations: 2 MB / 0.8684 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003676/0.6616, allocations: 1.393 MB / 0.8698 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001398/0.663, allocations: 1.083 MB / 0.8708 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003338/0.6634, allocations: 221 kB / 0.8711 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003158/0.6665, allocations: 1.521 MB / 0.8725 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000683/0.6672, allocations: 0.8022 MB / 0.8733 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001233/0.6685, allocations: 1.226 MB / 0.8745 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004776/0.6733, allocations: 3.588 MB / 0.878 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.6733, allocations: 2.094 kB / 0.878 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6733, allocations: 0 / 0.878 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.223e-05/0.6734, allocations: 0 / 0.878 GB, free: 9.074 MB / 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.004865/0.6782, allocations: 2.879 MB / 0.8808 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.6783, allocations: 14.06 kB / 0.8809 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002759/0.6786, allocations: 253.2 kB / 0.8811 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003717/0.6823, allocations: 0.5565 MB / 0.8816 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004039/0.6863, allocations: 3.385 MB / 0.8849 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.6865, allocations: 130 kB / 0.8851 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/0.6867, allocations: 165.6 kB / 0.8852 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003171/0.6899, allocations: 1.948 MB / 0.8871 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/0.6899, allocations: 0 / 0.8871 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001602/0.6901, allocations: 76.62 kB / 0.8872 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.994e-05/0.6901, allocations: 40.06 kB / 0.8872 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003453/0.6936, allocations: 2.089 MB / 0.8893 GB, free: 1.215 MB / 0.5919 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.01007/0.7036, allocations: 6.235 MB / 0.8954 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003629/0.7073, allocations: 2.101 MB / 0.8974 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001341/0.7087, allocations: 0.7608 MB / 0.8982 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006525/0.7093, allocations: 429.6 kB / 0.8986 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001888/0.7112, allocations: 1.013 MB / 0.8996 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=146): time 6.412e-06/0.7113, allocations: 0 / 0.8996 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of matching and sorting (n=146): time 0.007476/0.7188, allocations: 2.965 MB / 0.9025 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.7189, allocations: 193.2 kB / 0.9026 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005688/0.7246, allocations: 4.056 MB / 0.9066 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003525/0.725, allocations: 53.7 kB / 0.9067 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000886/0.7259, allocations: 0.8905 MB / 0.9075 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006222/0.7265, allocations: 481 kB / 0.908 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005127/0.727, allocations: 238.8 kB / 0.9082 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.7272, allocations: 357.9 kB / 0.9086 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001202/0.7284, allocations: 0.5687 MB / 0.9091 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/0.7298, allocations: 0.8008 MB / 0.9099 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002479/0.7323, allocations: 1.306 MB / 0.9112 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.7323, allocations: 0 / 0.9112 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004411/0.7368, allocations: 1.776 MB / 0.9129 GB, free: 8.305 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.7368, allocations: 6.969 kB / 0.9129 GB, free: 8.301 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.7368, allocations: 7.922 kB / 0.9129 GB, free: 8.293 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/0.738, allocations: 212.2 kB / 0.9131 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/0.7396, allocations: 323.5 kB / 0.9134 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006198/0.7458, allocations: 7.313 MB / 0.9206 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/0.7475, allocations: 167 kB / 0.9207 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000173/0.7477, allocations: 51.91 kB / 0.9208 GB, free: 15.52 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.00107/0.7488, allocations: 494 kB / 0.9212 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006804/0.7495, allocations: 193.6 kB / 0.9214 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005051/0.7546, allocations: 2.13 MB / 0.9235 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.7546, allocations: 19.98 kB / 0.9235 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/0.7546, allocations: 4 kB / 0.9235 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/0.7546, allocations: 7.969 kB / 0.9235 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007845/0.7625, allocations: 4.114 MB / 0.9276 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.7625, allocations: 0 / 0.9276 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/0.764, allocations: 311.6 kB / 0.9279 GB, free: 8.152 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009519/0.765, allocations: 212.1 kB / 0.9281 GB, free: 7.93 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/0.7651, allocations: 43.91 kB / 0.9281 GB, free: 7.887 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005813/0.771, allocations: 7.359 MB / 0.9353 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.771, allocations: 0 / 0.9353 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004642/0.7756, allocations: 1.991 MB / 0.9372 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/0.7768, allocations: 0.5098 MB / 0.9377 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004816/0.7773, allocations: 35.94 kB / 0.9378 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001601/0.7789, allocations: 107.8 kB / 0.9379 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002885/0.7792, allocations: 113.1 kB / 0.938 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001933/0.7794, allocations: 79.94 kB / 0.9381 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003566/0.783, allocations: 3.112 MB / 0.9411 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.5e-07/0.783, allocations: 0 / 0.9411 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00207/0.7851, allocations: 0.6625 MB / 0.9417 GB, free: 9.168 MB / 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.006618/0.7917, allocations: 3.196 MB / 0.9449 GB, free: 6.117 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005535/0.7973, allocations: 2.492 MB / 0.9473 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.7973, allocations: 4.562 kB / 0.9473 GB, free: 3.559 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002264/0.7996, allocations: 1.418 MB / 0.9487 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003193/0.8028, allocations: 0.5418 MB / 0.9492 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03676/0.8396, allocations: 22.46 MB / 0.9711 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00161/0.8412, allocations: 1.525 MB / 0.9726 GB, free: 8.723 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002471/0.8437, allocations: 0.5481 MB / 0.9732 GB, free: 8.168 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001386/0.8451, allocations: 0.8936 MB / 0.974 GB, free: 7.273 MB / 0.6856 GB Notification: Performance of SimCode: time 9.82e-07/0.8452, allocations: 0 / 0.974 GB, free: 7.273 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1078/0.953, allocations: 47.7 MB / 1.021 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.88, allocations: 7.031 kB / 1.021 GB, free: 8.168 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)