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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 212.3 kB / 22.25 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.368/1.368, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002549/0.002549, allocations: 278.2 kB / 312.7 MB, free: 2.637 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.138/1.138, allocations: 180.6 MB / 0.5369 GB, free: 14.53 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002847/0.002847, allocations: 95.2 kB / 0.7395 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1678, allocations: 95.39 MB / 0.8326 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData): time 0.1863/0.3541, allocations: 148.3 MB / 0.9774 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4322/0.7863, allocations: 16.19 MB / 0.9932 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002032/0.7883, allocations: 44.95 kB / 0.9933 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002062/0.7904, allocations: 0.5614 MB / 0.9938 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006708/0.7971, allocations: 1.839 MB / 0.9956 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003951/0.801, allocations: 1.465 MB / 0.9971 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004072/0.8051, allocations: 2.889 MB / 0.9999 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002378/0.8075, allocations: 1.567 MB / 1.001 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004706/0.8122, allocations: 1.523 MB / 1.003 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001989/0.8142, allocations: 1.055 MB / 1.004 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004746/0.8147, allocations: 223.1 kB / 1.004 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002969/0.8176, allocations: 1.457 MB / 1.006 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006115/0.8182, allocations: 0.817 MB / 1.006 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001076/0.8193, allocations: 1.054 MB / 1.007 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004254/0.8236, allocations: 3.797 MB / 1.011 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.8236, allocations: 0 / 1.011 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8236, allocations: 0.875 kB / 1.011 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.77e-05/0.8236, allocations: 0 / 1.011 GB, free: 2.621 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.004598/0.8282, allocations: 2.946 MB / 1.014 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.8283, allocations: 10.03 kB / 1.014 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002518/0.8285, allocations: 249.1 kB / 1.014 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003836/0.8324, allocations: 0.6281 MB / 1.015 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003472/0.8358, allocations: 3.369 MB / 1.018 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.561e-05/0.8359, allocations: 134.4 kB / 1.018 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000185/0.8361, allocations: 167.6 kB / 1.018 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003021/0.8391, allocations: 2.699 MB / 1.021 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.281e-05/0.8392, allocations: 0.8125 kB / 1.021 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001405/0.8393, allocations: 77.5 kB / 1.021 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.8393, allocations: 40.88 kB / 1.021 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002787/0.8421, allocations: 2.034 MB / 1.023 GB, free: 15.45 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.007506/0.8496, allocations: 4.967 MB / 1.028 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002666/0.8523, allocations: 1.705 MB / 1.03 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/0.8533, allocations: 0.704 MB / 1.03 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004053/0.8537, allocations: 117.6 kB / 1.03 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001914/0.8556, allocations: 1.611 MB / 1.032 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 4.709e-06/0.8556, allocations: 0.9062 kB / 1.032 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.006076/0.8617, allocations: 2.595 MB / 1.035 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001639/0.8619, allocations: 200.7 kB / 1.035 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005167/0.867, allocations: 4.08 MB / 1.039 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003241/0.8674, allocations: 58.11 kB / 1.039 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009111/0.8683, allocations: 0.912 MB / 1.04 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005646/0.8688, allocations: 0.497 MB / 1.04 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003848/0.8692, allocations: 237.2 kB / 1.04 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002122/0.8694, allocations: 352.6 kB / 1.041 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.8705, allocations: 0.5693 MB / 1.041 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/0.8724, allocations: 1.229 MB / 1.043 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002419/0.8748, allocations: 1.309 MB / 1.044 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.8748, allocations: 3.312 kB / 1.044 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003938/0.8787, allocations: 1.779 MB / 1.046 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.8787, allocations: 5.062 kB / 1.046 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.8788, allocations: 0 / 1.046 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/0.8798, allocations: 217.8 kB / 1.046 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.8811, allocations: 326.9 kB / 1.046 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006213/0.8874, allocations: 6.783 MB / 1.053 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/0.8891, allocations: 167.9 kB / 1.053 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.643e-05/0.8892, allocations: 47.48 kB / 1.053 GB, free: 3.141 MB / 0.7325 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.001068/0.8902, allocations: 489.6 kB / 1.053 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003845/0.8906, allocations: 199.8 kB / 1.054 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004144/0.8948, allocations: 2.147 MB / 1.056 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.8948, allocations: 15.09 kB / 1.056 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.8948, allocations: 2.125 kB / 1.056 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.805e-05/0.8948, allocations: 11.48 kB / 1.056 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006492/0.9013, allocations: 3.811 MB / 1.059 GB, free: 456 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.9013, allocations: 1.125 kB / 1.059 GB, free: 456 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/0.9026, allocations: 323.3 kB / 1.06 GB, free: 444 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008032/0.9034, allocations: 200.1 kB / 1.06 GB, free: 376 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.032e-05/0.9035, allocations: 38.86 kB / 1.06 GB, free: 356 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006093/0.9096, allocations: 6.821 MB / 1.067 GB, free: 9.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.9096, allocations: 0 / 1.067 GB, free: 9.77 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003975/0.9136, allocations: 2.021 MB / 1.069 GB, free: 8.844 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/0.9147, allocations: 461.7 kB / 1.069 GB, free: 8.516 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002344/0.9149, allocations: 25.31 kB / 1.069 GB, free: 8.496 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/0.9161, allocations: 108.3 kB / 1.069 GB, free: 8.445 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002174/0.9163, allocations: 117.5 kB / 1.069 GB, free: 8.375 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001463/0.9165, allocations: 80.69 kB / 1.069 GB, free: 8.34 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003209/0.9197, allocations: 3.141 MB / 1.072 GB, free: 6.957 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.9197, allocations: 0.7812 kB / 1.072 GB, free: 6.957 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001831/0.9215, allocations: 0.6863 MB / 1.073 GB, free: 6.785 MB / 0.7481 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.006362/0.9279, allocations: 3.241 MB / 1.076 GB, free: 4.594 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003653/0.9315, allocations: 1.998 MB / 1.078 GB, free: 2.555 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/0.9315, allocations: 5.406 kB / 1.078 GB, free: 2.547 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002148/0.9337, allocations: 1.354 MB / 1.079 GB, free: 1.16 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002882/0.9366, allocations: 0.5395 MB / 1.08 GB, free: 0.6523 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03142/0.968, allocations: 20.9 MB / 1.1 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/0.9691, allocations: 0.9607 MB / 1.101 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001941/0.971, allocations: 0.525 MB / 1.102 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001419/0.9725, allocations: 0.9093 MB / 1.103 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of SimCode: time 1.022e-06/0.9725, allocations: 0 / 1.103 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1178/1.09, allocations: 52.81 MB / 1.154 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.76/15.85, allocations: 6.688 kB / 1.154 GB, free: 5.09 MB / 0.8262 GB " [Timeout remaining time 644] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_res.csv --start-time 1.728e+07 --stop-time 1.78848e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 241.92 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.01959484582767] Failed to read output from testmodel.py, exit status != 0: 16.090724596288055 16.105989592 15.279365524 Calling exit ...