Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.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.0007974/0.0007974, 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.0008567/0.0008567, allocations: 165.9 kB / 22.45 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.888/0.888, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.001521/0.001521, allocations: 241.8 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.6845/0.6845, allocations: 138.4 MB / 454.3 MB, free: 29.98 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.Validation.Outside_CpData_Directions,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.6463 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.816e-05/1.991e-05, allocations: 5.375 kB / 0.6463 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.3536/0.3536, allocations: 148.3 MB / 0.7911 GB, free: 6.824 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01499/0.3686, allocations: 16.17 MB / 0.8069 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.3699, allocations: 47.56 kB / 0.8069 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.3712, allocations: 0.5659 MB / 0.8075 GB, free: 6 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003973/0.3751, allocations: 1.89 MB / 0.8093 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002892/0.378, allocations: 1.48 MB / 0.8107 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002726/0.3807, allocations: 2.974 MB / 0.8137 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001783/0.3825, allocations: 1.576 MB / 0.8152 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003218/0.3857, allocations: 2.024 MB / 0.8172 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001182/0.3869, allocations: 0.9319 MB / 0.8181 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.000367/0.3873, allocations: 224 kB / 0.8183 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002231/0.3895, allocations: 1.473 MB / 0.8197 GB, free: 9.449 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0004516/0.39, allocations: 0.8373 MB / 0.8205 GB, free: 8.609 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0007752/0.3908, allocations: 0.8728 MB / 0.8214 GB, free: 7.734 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003614/0.3944, allocations: 3.945 MB / 0.8253 GB, free: 3.777 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3944, allocations: 0 / 0.8253 GB, free: 3.777 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3944, allocations: 4 kB / 0.8253 GB, free: 3.773 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.063e-05/0.3944, allocations: 0 / 0.8253 GB, free: 3.773 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.003576/0.398, allocations: 2.949 MB / 0.8281 GB, free: 0.7773 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.3981, allocations: 9.938 kB / 0.8281 GB, free: 0.7695 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000202/0.3983, allocations: 252.9 kB / 0.8284 GB, free: 0.5117 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002131/0.4004, allocations: 0.6386 MB / 0.829 GB, free: 15.87 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002799/0.4032, allocations: 3.37 MB / 0.8323 GB, free: 12.46 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.422e-05/0.4033, allocations: 132.3 kB / 0.8324 GB, free: 12.33 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.4034, allocations: 172 kB / 0.8326 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002324/0.4057, allocations: 2.706 MB / 0.8352 GB, free: 9.219 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.4058, allocations: 0 / 0.8352 GB, free: 9.219 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.4059, allocations: 83.73 kB / 0.8353 GB, free: 9.141 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/0.4059, allocations: 43.94 kB / 0.8354 GB, free: 9.098 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002186/0.4081, allocations: 2.068 MB / 0.8374 GB, free: 7.027 MB / 0.6667 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.006112/0.4142, allocations: 5.123 MB / 0.8424 GB, free: 1.824 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002025/0.4162, allocations: 1.738 MB / 0.8441 GB, free: 84 kB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007904/0.417, allocations: 0.7108 MB / 0.8448 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002784/0.4173, allocations: 125.2 kB / 0.8449 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001459/0.4187, allocations: 1.622 MB / 0.8465 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=146): time 3.156e-06/0.4187, allocations: 0 / 0.8465 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=146): time 0.003994/0.4227, allocations: 2.629 MB / 0.849 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.855e-05/0.4228, allocations: 205.2 kB / 0.8492 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003133/0.426, allocations: 4.106 MB / 0.8532 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001273/0.4261, allocations: 61.7 kB / 0.8533 GB, free: 6.395 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005415/0.4266, allocations: 0.9155 MB / 0.8542 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002958/0.4269, allocations: 499.7 kB / 0.8547 GB, free: 4.977 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000267/0.4272, allocations: 242.8 kB / 0.8549 GB, free: 4.734 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.902e-05/0.4273, allocations: 361.9 kB / 0.8553 GB, free: 4.375 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006971/0.428, allocations: 0.5765 MB / 0.8558 GB, free: 3.797 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009432/0.4289, allocations: 1.239 MB / 0.857 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.4304, allocations: 1.34 MB / 0.8583 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.4304, allocations: 0 / 0.8583 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002595/0.433, allocations: 1.808 MB / 0.8601 GB, free: 15.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.4331, allocations: 8 kB / 0.8601 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.4331, allocations: 0 / 0.8601 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005685/0.4336, allocations: 212.1 kB / 0.8603 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007933/0.4344, allocations: 327.6 kB / 0.8606 GB, free: 14.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00396/0.4384, allocations: 6.788 MB / 0.8673 GB, free: 7.297 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009831/0.4394, allocations: 176.7 kB / 0.8674 GB, free: 7.129 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.251e-05/0.4394, allocations: 51.97 kB / 0.8675 GB, free: 7.078 MB / 0.698 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 (145): * Single equations (assignments): 140 * 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.0008068/0.4402, allocations: 486.7 kB / 0.8679 GB, free: 6.594 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002871/0.4405, allocations: 206.9 kB / 0.8681 GB, free: 6.391 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002619/0.4431, allocations: 2.163 MB / 0.8702 GB, free: 4.203 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.4432, allocations: 19.94 kB / 0.8703 GB, free: 4.184 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4432, allocations: 8 kB / 0.8703 GB, free: 4.176 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.4432, allocations: 7.969 kB / 0.8703 GB, free: 4.168 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004497/0.4477, allocations: 3.835 MB / 0.874 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.4477, allocations: 7.938 kB / 0.874 GB, free: 264 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007399/0.4484, allocations: 323.5 kB / 0.8743 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004338/0.4489, allocations: 196.1 kB / 0.8745 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.021e-05/0.4489, allocations: 39.97 kB / 0.8746 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003918/0.4528, allocations: 6.816 MB / 0.8812 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4528, allocations: 3.938 kB / 0.8812 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002833/0.4557, allocations: 2.037 MB / 0.8832 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008221/0.4565, allocations: 462 kB / 0.8837 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/0.4567, allocations: 40 kB / 0.8837 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007102/0.4574, allocations: 108 kB / 0.8838 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002111/0.4576, allocations: 125.1 kB / 0.8839 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.4577, allocations: 63.95 kB / 0.884 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002365/0.4601, allocations: 3.156 MB / 0.8871 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4601, allocations: 0 / 0.8871 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001391/0.4615, allocations: 0.6977 MB / 0.8877 GB, free: 1.594 MB / 0.7136 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.003836/0.4653, allocations: 3.293 MB / 0.891 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002251/0.4675, allocations: 2.02 MB / 0.8929 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4675, allocations: 0.8906 kB / 0.8929 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001343/0.4689, allocations: 1.371 MB / 0.8943 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/0.4706, allocations: 0.564 MB / 0.8948 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02263/0.4932, allocations: 21.26 MB / 0.9156 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007271/0.4939, allocations: 0.9501 MB / 0.9165 GB, free: 3.949 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001238/0.4952, allocations: 0.5329 MB / 0.917 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008827/0.496, allocations: 0.9142 MB / 0.9179 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of SimCode: time 2.415e-06/0.496, allocations: 0 / 0.9179 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2934/0.7894, allocations: 53.05 MB / 0.9697 GB, free: 239.2 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.687/10.48, allocations: 5.031 kB / 0.9697 GB, free: 239.2 MB / 0.7605 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.190075456164777] Failed to read output from testmodel.py, exit status != 0: 10.643320450559258 10.651945197 10.255631297 Calling exit ...