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.004831/0.004831, allocations: 101.1 kB / 15.73 MB, free: 6.043 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.001112/0.001112, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.26/1.26, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002219/0.00222, allocations: 279.1 kB / 290.8 MB, free: 1.77 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8787/0.8787, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 91.94 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1548, allocations: 86.98 MB / 0.7659 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData): time 0.4933/0.6482, allocations: 167.2 MB / 0.9292 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01926/0.6675, allocations: 17.21 MB / 0.946 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001517/0.6691, allocations: 27.81 kB / 0.946 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001407/0.6705, allocations: 0.5431 MB / 0.9465 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.00478/0.6753, allocations: 1.718 MB / 0.9482 GB, free: 8.297 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00327/0.6786, allocations: 1.425 MB / 0.9496 GB, free: 6.887 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.003094/0.6817, allocations: 2.661 MB / 0.9522 GB, free: 4.215 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002382/0.6841, allocations: 1.997 MB / 0.9541 GB, free: 2.176 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003424/0.6875, allocations: 1.443 MB / 0.9555 GB, free: 0.7891 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001279/0.6888, allocations: 1.078 MB / 0.9566 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002825/0.6891, allocations: 223.9 kB / 0.9568 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002752/0.6919, allocations: 1.548 MB / 0.9583 GB, free: 13.94 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006234/0.6925, allocations: 0.7984 MB / 0.9591 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001052/0.6936, allocations: 1.228 MB / 0.9603 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004061/0.6976, allocations: 3.652 MB / 0.9639 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.6977, allocations: 4 kB / 0.9639 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6977, allocations: 0 / 0.9639 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.896e-05/0.6977, allocations: 0 / 0.9639 GB, free: 8.234 MB / 0.7169 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.004261/0.702, allocations: 2.889 MB / 0.9667 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.702, allocations: 15.97 kB / 0.9667 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002756/0.7023, allocations: 256.8 kB / 0.967 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003384/0.7057, allocations: 0.5628 MB / 0.9675 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003607/0.7093, allocations: 3.409 MB / 0.9708 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.7094, allocations: 139.4 kB / 0.971 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002007/0.7097, allocations: 168 kB / 0.9711 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00297/0.7126, allocations: 1.936 MB / 0.973 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.206e-05/0.7127, allocations: 0 / 0.973 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/0.7128, allocations: 76 kB / 0.9731 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-05/0.7129, allocations: 40 kB / 0.9731 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003196/0.7161, allocations: 2.089 MB / 0.9752 GB, free: 12.48 MB / 0.7325 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.00813/0.7242, allocations: 6.171 MB / 0.9812 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003049/0.7273, allocations: 2.095 MB / 0.9832 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/0.7285, allocations: 0.7608 MB / 0.984 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005706/0.729, allocations: 433.6 kB / 0.9844 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001573/0.7306, allocations: 1.01 MB / 0.9854 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 2.875e-06/0.7306, allocations: 0 / 0.9854 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.006161/0.7368, allocations: 2.957 MB / 0.9883 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.838e-05/0.7369, allocations: 197.2 kB / 0.9885 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004141/0.7411, allocations: 4.056 MB / 0.9924 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001768/0.7413, allocations: 61.7 kB / 0.9925 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007185/0.742, allocations: 0.8827 MB / 0.9933 GB, free: 9.27 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003931/0.7424, allocations: 484.9 kB / 0.9938 GB, free: 8.789 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003619/0.7428, allocations: 238.8 kB / 0.994 GB, free: 8.547 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.7429, allocations: 357.8 kB / 0.9944 GB, free: 8.191 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009737/0.7439, allocations: 0.5726 MB / 0.9949 GB, free: 7.621 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/0.745, allocations: 0.793 MB / 0.9957 GB, free: 6.762 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002101/0.7472, allocations: 1.314 MB / 0.997 GB, free: 5.438 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.7472, allocations: 0 / 0.997 GB, free: 5.438 MB / 0.7481 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003523/0.7507, allocations: 1.768 MB / 0.9987 GB, free: 3.645 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.7507, allocations: 8 kB / 0.9987 GB, free: 3.637 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.7507, allocations: 4.094 kB / 0.9987 GB, free: 3.633 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009691/0.7517, allocations: 216.1 kB / 0.9989 GB, free: 3.406 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/0.7531, allocations: 327.6 kB / 0.9992 GB, free: 3.086 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005536/0.7587, allocations: 7.31 MB / 1.006 GB, free: 11.07 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.7602, allocations: 161.2 kB / 1.007 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.7603, allocations: 55.95 kB / 1.007 GB, free: 10.86 MB / 0.7637 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.0009505/0.7613, allocations: 490 kB / 1.007 GB, free: 10.37 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004092/0.7617, allocations: 189.7 kB / 1.007 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004151/0.7658, allocations: 2.142 MB / 1.009 GB, free: 8.016 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.7659, allocations: 16 kB / 1.009 GB, free: 8 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.7659, allocations: 0 / 1.009 GB, free: 8 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.7659, allocations: 7.969 kB / 1.009 GB, free: 7.992 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006237/0.7721, allocations: 4.107 MB / 1.013 GB, free: 3.809 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.7722, allocations: 0 / 1.013 GB, free: 3.809 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001373/0.7735, allocations: 315.6 kB / 1.014 GB, free: 3.5 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008119/0.7744, allocations: 208.1 kB / 1.014 GB, free: 3.281 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.501e-05/0.7745, allocations: 39.97 kB / 1.014 GB, free: 3.242 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005276/0.7797, allocations: 7.359 MB / 1.021 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7798, allocations: 0 / 1.021 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003852/0.7836, allocations: 2.005 MB / 1.023 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008164/0.7845, allocations: 0.506 MB / 1.024 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002029/0.7847, allocations: 31.98 kB / 1.024 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/0.7858, allocations: 106.3 kB / 1.024 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000221/0.786, allocations: 113.1 kB / 1.024 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/0.7862, allocations: 71.95 kB / 1.024 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.003018/0.7892, allocations: 3.116 MB / 1.027 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7892, allocations: 0 / 1.027 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001648/0.7909, allocations: 0.6586 MB / 1.028 GB, free: 4.52 MB / 0.7794 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.005347/0.7962, allocations: 3.204 MB / 1.031 GB, free: 1.457 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003291/0.7995, allocations: 2.059 MB / 1.033 GB, free: 15.34 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.7996, allocations: 0.5625 kB / 1.033 GB, free: 15.34 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00193/0.8015, allocations: 1.407 MB / 1.034 GB, free: 13.86 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002085/0.8036, allocations: 0.5493 MB / 1.035 GB, free: 13.35 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02703/0.8306, allocations: 20.86 MB / 1.055 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/0.8317, allocations: 1.533 MB / 1.056 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001634/0.8334, allocations: 0.5403 MB / 1.057 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/0.8345, allocations: 0.9014 MB / 1.058 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of SimCode: time 1.012e-06/0.8345, allocations: 0 / 1.058 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4328/1.267, allocations: 48.14 MB / 1.105 GB, free: 284.6 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.41/15.67, allocations: 3.406 kB / 1.105 GB, free: 284.6 MB / 0.8419 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)