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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 107 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002382/0.002382, allocations: 293.4 kB / 303 MB, free: 9.469 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.136/1.136, allocations: 180.9 MB / 0.5261 GB, free: 14.72 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 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002637/0.002637, allocations: 105.6 kB / 0.7248 GB, free: 40.09 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1646, allocations: 94.16 MB / 0.8167 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1831/0.3477, allocations: 155 MB / 0.9681 GB, free: 9.781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01656/0.3642, allocations: 10.62 MB / 0.9784 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.3654, allocations: 23.88 kB / 0.9784 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.3667, allocations: 289.6 kB / 0.9787 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003248/0.37, allocations: 0.9829 MB / 0.9797 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002986/0.373, allocations: 1.094 MB / 0.9808 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002453/0.3754, allocations: 1.721 MB / 0.9824 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001533/0.377, allocations: 0.9391 MB / 0.9834 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001908/0.3789, allocations: 0.7365 MB / 0.9841 GB, free: 9.336 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007827/0.3796, allocations: 0.6379 MB / 0.9847 GB, free: 8.695 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001878/0.3798, allocations: 132 kB / 0.9848 GB, free: 8.566 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00207/0.3819, allocations: 1.049 MB / 0.9858 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003743/0.3823, allocations: 382.8 kB / 0.9862 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006883/0.383, allocations: 0.6763 MB / 0.9869 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003105/0.3861, allocations: 2.242 MB / 0.9891 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3861, allocations: 0 / 0.9891 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3861, allocations: 0 / 0.9891 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.225e-05/0.3861, allocations: 0 / 0.9891 GB, free: 4.211 MB / 0.7325 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.00351/0.3896, allocations: 1.782 MB / 0.9908 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.3897, allocations: 8.031 kB / 0.9908 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001996/0.3899, allocations: 156.1 kB / 0.991 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/0.3915, allocations: 278.9 kB / 0.9912 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00172/0.3932, allocations: 1.09 MB / 0.9923 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.865e-05/0.3933, allocations: 78 kB / 0.9924 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.3934, allocations: 92 kB / 0.9924 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001987/0.3954, allocations: 1.106 MB / 0.9935 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.3955, allocations: 7.938 kB / 0.9935 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.469e-05/0.3955, allocations: 43.94 kB / 0.9936 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.446e-05/0.3956, allocations: 24 kB / 0.9936 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002286/0.3979, allocations: 1.319 MB / 0.9949 GB, free: 14.09 MB / 0.7481 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.005437/0.4033, allocations: 3.463 MB / 0.9983 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001901/0.4052, allocations: 1.044 MB / 0.9993 GB, free: 9.395 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007258/0.4059, allocations: 392.5 kB / 0.9997 GB, free: 9.012 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002582/0.4062, allocations: 145.9 kB / 0.9998 GB, free: 8.852 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001105/0.4073, allocations: 0.6177 MB / 1 GB, free: 8.211 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=95): time 2.956e-06/0.4073, allocations: 0 / 1 GB, free: 8.211 MB / 0.7481 GB Notification: Performance of matching and sorting (n=95): time 0.004062/0.4114, allocations: 1.628 MB / 1.002 GB, free: 6.539 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.4115, allocations: 204.9 kB / 1.002 GB, free: 6.293 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.4127, allocations: 1.017 MB / 1.003 GB, free: 5.266 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.726e-05/0.4128, allocations: 45.7 kB / 1.003 GB, free: 5.215 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004122/0.4132, allocations: 485.1 kB / 1.004 GB, free: 4.734 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002711/0.4135, allocations: 329.1 kB / 1.004 GB, free: 4.41 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002749/0.4138, allocations: 174.6 kB / 1.004 GB, free: 4.234 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.4139, allocations: 334 kB / 1.004 GB, free: 3.902 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007079/0.4146, allocations: 333.8 kB / 1.005 GB, free: 3.578 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008426/0.4155, allocations: 473.1 kB / 1.005 GB, free: 3.074 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.417, allocations: 0.7648 MB / 1.006 GB, free: 2.301 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.417, allocations: 0 / 1.006 GB, free: 2.301 MB / 0.7481 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002432/0.4194, allocations: 1.041 MB / 1.007 GB, free: 1.246 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.4194, allocations: 4 kB / 1.007 GB, free: 1.242 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.4194, allocations: 4.062 kB / 1.007 GB, free: 1.238 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007316/0.4201, allocations: 113.6 kB / 1.007 GB, free: 1.121 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009055/0.421, allocations: 203.7 kB / 1.007 GB, free: 0.9219 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3646/0.7856, allocations: 3.054 MB / 1.01 GB, free: 187.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.7866, allocations: 106.9 kB / 1.01 GB, free: 187.9 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.23e-05/0.7867, allocations: 36.89 kB / 1.01 GB, free: 187.9 MB / 0.7481 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.0005232/0.7872, allocations: 304.1 kB / 1.011 GB, free: 187.8 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/0.7874, allocations: 107.5 kB / 1.011 GB, free: 187.8 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002786/0.7902, allocations: 1.324 MB / 1.012 GB, free: 187.7 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.7902, allocations: 11.22 kB / 1.012 GB, free: 187.7 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.7902, allocations: 2.5 kB / 1.012 GB, free: 187.7 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/0.7902, allocations: 6.438 kB / 1.012 GB, free: 187.7 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004312/0.7946, allocations: 2.444 MB / 1.015 GB, free: 186.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.7946, allocations: 1.094 kB / 1.015 GB, free: 186.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008115/0.7954, allocations: 193.8 kB / 1.015 GB, free: 186.8 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005311/0.7959, allocations: 104.4 kB / 1.015 GB, free: 186.8 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.521e-05/0.796, allocations: 28.08 kB / 1.015 GB, free: 186.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002273/0.7982, allocations: 3.096 MB / 1.018 GB, free: 183.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7982, allocations: 3.594 kB / 1.018 GB, free: 183.8 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002575/0.8008, allocations: 1.244 MB / 1.019 GB, free: 183.3 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005077/0.8013, allocations: 330.2 kB / 1.019 GB, free: 183.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.8015, allocations: 26.56 kB / 1.019 GB, free: 183.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007973/0.8023, allocations: 85.12 kB / 1.02 GB, free: 183.1 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001966/0.8025, allocations: 84.64 kB / 1.02 GB, free: 183 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.644e-05/0.8026, allocations: 43.48 kB / 1.02 GB, free: 183 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009305/0.8035, allocations: 0.7507 MB / 1.02 GB, free: 182.7 MB / 0.7481 GB Notification: Performance of sort global known variables: time 6e-08/0.8035, allocations: 0 / 1.02 GB, free: 182.7 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00121/0.8047, allocations: 448 kB / 1.021 GB, free: 182.7 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 (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.00461/0.8093, allocations: 2.41 MB / 1.023 GB, free: 181.5 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00236/0.8117, allocations: 1.075 MB / 1.024 GB, free: 181.1 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.8117, allocations: 4.25 kB / 1.024 GB, free: 181.1 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001292/0.813, allocations: 0.7079 MB / 1.025 GB, free: 180.7 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/0.8145, allocations: 360.1 kB / 1.025 GB, free: 180.6 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/0.825, allocations: 8.389 MB / 1.033 GB, free: 176 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/0.8254, allocations: 1.099 MB / 1.035 GB, free: 174.8 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009152/0.8264, allocations: 317.5 kB / 1.035 GB, free: 174.5 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004705/0.8268, allocations: 463.2 kB / 1.035 GB, free: 174.1 MB / 0.7481 GB Notification: Performance of SimCode: time 8.92e-07/0.8268, allocations: 0 / 1.035 GB, free: 174.1 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05859/0.8854, allocations: 28.46 MB / 1.063 GB, free: 146 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.53, allocations: 3.875 kB / 1.063 GB, free: 146 MB / 0.7481 GB " [Timeout remaining time 645] (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 --stepSize=34.56 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.55890731839463] Failed to read output from testmodel.py, exit status != 0: 14.73022408830002 14.739116612 14.350919489 Calling exit ...