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.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.0007667/0.0007667, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008039/0.0008039, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8881/0.8881, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.001423/0.001423, allocations: 244.1 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6935/0.6935, allocations: 138.4 MB / 454.3 MB, free: 30.07 MB / 410.7 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_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 1.804e-06/1.804e-06, allocations: 3.938 kB / 0.6463 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.184e-05/2.365e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.898 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.3703/0.3703, allocations: 135.9 MB / 0.779 GB, free: 3.262 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01044/0.3807, allocations: 9.93 MB / 0.7887 GB, free: 9.305 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008137/0.3816, allocations: 31.75 kB / 0.7887 GB, free: 9.273 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008207/0.3824, allocations: 289.5 kB / 0.789 GB, free: 8.988 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002383/0.3848, allocations: 1.024 MB / 0.79 GB, free: 7.965 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002041/0.3868, allocations: 1.12 MB / 0.7911 GB, free: 6.855 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001648/0.3884, allocations: 1.789 MB / 0.7928 GB, free: 5.062 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.3895, allocations: 0.9303 MB / 0.7937 GB, free: 4.109 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001758/0.3913, allocations: 1.037 MB / 0.7948 GB, free: 3.086 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006672/0.3919, allocations: 0.5031 MB / 0.7952 GB, free: 2.582 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.3921, allocations: 136 kB / 0.7954 GB, free: 2.449 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001628/0.3937, allocations: 1.022 MB / 0.7964 GB, free: 1.426 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002546/0.394, allocations: 394.7 kB / 0.7967 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000364/0.3943, allocations: 474.8 kB / 0.7972 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002856/0.3972, allocations: 2.442 MB / 0.7996 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3972, allocations: 4.656 kB / 0.7996 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3972, allocations: 0 / 0.7996 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.621e-05/0.3972, allocations: 4 kB / 0.7996 GB, free: 14.12 MB / 0.6355 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.002129/0.3993, allocations: 1.712 MB / 0.8013 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.3994, allocations: 9.938 kB / 0.8013 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001347/0.3995, allocations: 156.1 kB / 0.8014 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.4007, allocations: 318.8 kB / 0.8017 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.4018, allocations: 1.033 MB / 0.8027 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.356e-05/0.4018, allocations: 73.98 kB / 0.8028 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.895e-05/0.4019, allocations: 99.94 kB / 0.8029 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.4034, allocations: 1.49 MB / 0.8044 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.4034, allocations: 3.938 kB / 0.8044 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.674e-05/0.4034, allocations: 40 kB / 0.8044 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.4035, allocations: 24 kB / 0.8044 GB, free: 8.969 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/0.405, allocations: 1.272 MB / 0.8057 GB, free: 7.695 MB / 0.6355 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.00365/0.4087, allocations: 2.77 MB / 0.8084 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.4101, allocations: 0.9758 MB / 0.8093 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004515/0.4105, allocations: 389.7 kB / 0.8097 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000146/0.4107, allocations: 52.95 kB / 0.8097 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007905/0.4114, allocations: 0.8407 MB / 0.8106 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=95): time 3.026e-06/0.4114, allocations: 3.938 kB / 0.8106 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of matching and sorting (n=95): time 0.002477/0.4139, allocations: 1.489 MB / 0.812 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.571e-05/0.414, allocations: 196.9 kB / 0.8122 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009081/0.4149, allocations: 1.052 MB / 0.8132 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.706e-05/0.415, allocations: 41.7 kB / 0.8133 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/0.4153, allocations: 493.1 kB / 0.8137 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/0.4155, allocations: 321.2 kB / 0.8141 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/0.4156, allocations: 166.6 kB / 0.8142 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.08e-05/0.4157, allocations: 345.9 kB / 0.8145 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004209/0.4162, allocations: 325.8 kB / 0.8149 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000569/0.4167, allocations: 0.6667 MB / 0.8155 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.4178, allocations: 0.7655 MB / 0.8163 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.4178, allocations: 0 / 0.8163 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001518/0.4193, allocations: 1.045 MB / 0.8173 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.4193, allocations: 6.188 kB / 0.8173 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.4193, allocations: 7.516 kB / 0.8173 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004112/0.4198, allocations: 109.7 kB / 0.8174 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004676/0.4202, allocations: 203.7 kB / 0.8176 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/0.4221, allocations: 2.851 MB / 0.8204 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005484/0.4227, allocations: 111.5 kB / 0.8205 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.674e-05/0.4227, allocations: 35.98 kB / 0.8205 GB, free: 7.93 MB / 0.6511 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.0004449/0.4231, allocations: 316.3 kB / 0.8208 GB, free: 7.613 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.4233, allocations: 119.2 kB / 0.8209 GB, free: 7.496 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/0.425, allocations: 1.314 MB / 0.8222 GB, free: 6.172 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.4251, allocations: 15.94 kB / 0.8222 GB, free: 6.156 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.4251, allocations: 0 / 0.8222 GB, free: 6.156 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.4251, allocations: 7.969 kB / 0.8222 GB, free: 6.148 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002857/0.4279, allocations: 2.27 MB / 0.8244 GB, free: 3.824 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4279, allocations: 0 / 0.8244 GB, free: 3.824 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004333/0.4284, allocations: 187.7 kB / 0.8246 GB, free: 3.641 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002873/0.4286, allocations: 113.5 kB / 0.8247 GB, free: 3.523 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.394e-05/0.4287, allocations: 23.98 kB / 0.8248 GB, free: 3.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/0.4304, allocations: 2.871 MB / 0.8276 GB, free: 412 kB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4304, allocations: 3.984 kB / 0.8276 GB, free: 408 kB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.4321, allocations: 1.253 MB / 0.8288 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004007/0.4325, allocations: 263.4 kB / 0.829 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.507e-05/0.4326, allocations: 16 kB / 0.8291 GB, free: 14.85 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004328/0.433, allocations: 79.91 kB / 0.8291 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.4332, allocations: 84.84 kB / 0.8292 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.804e-05/0.4332, allocations: 43.97 kB / 0.8293 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008181/0.4341, allocations: 0.7723 MB / 0.83 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4341, allocations: 1.312 kB / 0.83 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001007/0.4351, allocations: 447 kB / 0.8304 GB, free: 13.44 MB / 0.6667 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.003086/0.4382, allocations: 2.463 MB / 0.8328 GB, free: 11.19 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001547/0.4397, allocations: 1.08 MB / 0.8339 GB, free: 10.08 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.4397, allocations: 4 kB / 0.8339 GB, free: 10.08 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007736/0.4405, allocations: 0.702 MB / 0.8346 GB, free: 9.352 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.4415, allocations: 360.8 kB / 0.8349 GB, free: 9.027 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.4516, allocations: 8.466 MB / 0.8432 GB, free: 416 kB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.452, allocations: 0.5162 MB / 0.8437 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008814/0.4528, allocations: 323.9 kB / 0.844 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004798/0.4533, allocations: 476.3 kB / 0.8445 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of SimCode: time 9.72e-07/0.4533, allocations: 0 / 0.8445 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04635/0.4997, allocations: 30.68 MB / 0.8744 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.804/9.303, allocations: 19.05 kB / 0.8744 GB, free: 0.8125 MB / 0.698 GB " [Timeout remaining time 651] (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: 12.079265988431871] Failed to read output from testmodel.py, exit status != 0: 9.462803666479886 9.470766043 9.071677799 Calling exit ...