Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.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.0009436/0.0009436, 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.0009825/0.0009825, 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.9572/0.9572, allocations: 177.1 MB / 202.8 MB, free: 5.539 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5756/0.5756, allocations: 110.2 MB / 369.4 MB, free: 12.52 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.Building.Examples.HeatRecoveryVentilation,fileNamePrefix="BuildSysPro_BuildSysPro_Building_Examples_HeatRecoveryVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.Building.Examples.HeatRecoveryVentilation,fileNamePrefix="BuildSysPro_BuildSysPro_Building_Examples_HeatRecoveryVentilation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.5472 GB, free: 9.875 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.791e-05, allocations: 2.281 kB / 0.5472 GB, free: 9.871 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.003493/0.003521, allocations: 2.444 MB / 0.5496 GB, free: 7.414 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.004567, allocations: 0.666 MB / 0.5503 GB, free: 6.742 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.004735, allocations: 11.94 kB / 0.5503 GB, free: 6.73 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001794/0.004914, allocations: 59.39 kB / 0.5503 GB, free: 6.672 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.005053, allocations: 75.27 kB / 0.5504 GB, free: 6.598 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.005383, allocations: 103.8 kB / 0.5505 GB, free: 6.496 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.000318/0.005701, allocations: 338.5 kB / 0.5508 GB, free: 6.164 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002423/0.005944, allocations: 113.6 kB / 0.5509 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000328/0.006272, allocations: 195.5 kB / 0.5511 GB, free: 5.855 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.006406, allocations: 95.7 kB / 0.5512 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/0.006444, allocations: 28 kB / 0.5512 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.13e-05/0.006515, allocations: 32 kB / 0.5513 GB, free: 5.703 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.129e-05/0.006557, allocations: 55.77 kB / 0.5513 GB, free: 5.648 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 8.661e-05/0.006643, allocations: 103.7 kB / 0.5514 GB, free: 5.547 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0003954/0.007039, allocations: 350.8 kB / 0.5517 GB, free: 5.203 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.007044, allocations: 0 / 0.5517 GB, free: 5.203 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.094e-06/0.007046, allocations: 3.938 kB / 0.5517 GB, free: 5.199 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.007052, allocations: 0 / 0.5517 GB, free: 5.199 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008069/0.007859, allocations: 0.4974 MB / 0.5522 GB, free: 4.672 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.108e-05/0.00792, allocations: 12.03 kB / 0.5522 GB, free: 4.66 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.835e-05/0.007989, allocations: 62.72 kB / 0.5523 GB, free: 4.59 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002121/0.008201, allocations: 52.69 kB / 0.5524 GB, free: 4.539 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004186/0.008619, allocations: 234.2 kB / 0.5526 GB, free: 4.281 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.008651, allocations: 16.88 kB / 0.5526 GB, free: 4.262 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.008681, allocations: 28.31 kB / 0.5526 GB, free: 4.234 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003766/0.009057, allocations: 220.6 kB / 0.5528 GB, free: 4.016 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.009072, allocations: 4.188 kB / 0.5528 GB, free: 4.012 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.009095, allocations: 12.12 kB / 0.5528 GB, free: 4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.009107, allocations: 8 kB / 0.5529 GB, free: 3.992 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002461/0.009353, allocations: 165.9 kB / 0.553 GB, free: 3.832 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009566/0.01031, allocations: 0.6318 MB / 0.5536 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.0106, allocations: 114.7 kB / 0.5537 GB, free: 3.035 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.137e-05/0.01069, allocations: 44.84 kB / 0.5538 GB, free: 2.988 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.01071, allocations: 0 / 0.5538 GB, free: 2.988 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.01073, allocations: 38.56 kB / 0.5538 GB, free: 2.941 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.01073, allocations: 0 / 0.5538 GB, free: 2.941 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.0003374/0.01107, allocations: 173.6 kB / 0.554 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.01111, allocations: 55.41 kB / 0.554 GB, free: 2.699 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.01133, allocations: 280.6 kB / 0.5543 GB, free: 2.418 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.01135, allocations: 29.7 kB / 0.5543 GB, free: 2.383 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.01146, allocations: 176.3 kB / 0.5545 GB, free: 2.207 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.01149, allocations: 31.73 kB / 0.5545 GB, free: 2.176 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.01153, allocations: 21.72 kB / 0.5546 GB, free: 2.148 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.01165, allocations: 338.8 kB / 0.5549 GB, free: 1.809 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.579e-05/0.01172, allocations: 47.91 kB / 0.5549 GB, free: 1.762 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.231e-05/0.01179, allocations: 39.98 kB / 0.555 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.01192, allocations: 80.77 kB / 0.555 GB, free: 1.641 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.01192, allocations: 0 / 0.555 GB, free: 1.641 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001883/0.01211, allocations: 141.5 kB / 0.5552 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.01213, allocations: 8 kB / 0.5552 GB, free: 1.488 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.01214, allocations: 0 / 0.5552 GB, free: 1.488 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.01215, allocations: 4 kB / 0.5552 GB, free: 1.484 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.19e-05/0.01223, allocations: 23.92 kB / 0.5552 GB, free: 1.461 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.01224, allocations: 4.359 kB / 0.5552 GB, free: 1.457 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.826e-05/0.01231, allocations: 31.81 kB / 0.5552 GB, free: 1.426 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.01232, allocations: 0 / 0.5552 GB, free: 1.426 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (booleanExpression.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000112/0.01243, allocations: 137.8 kB / 0.5554 GB, free: 1.281 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.01246, allocations: 31.75 kB / 0.5554 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.544e-05/0.01251, allocations: 29.89 kB / 0.5554 GB, free: 1.219 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01251, allocations: 0 / 0.5554 GB, free: 1.219 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.01251, allocations: 4 kB / 0.5554 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.01252, allocations: 11.91 kB / 0.5554 GB, free: 1.203 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.01274, allocations: 236.6 kB / 0.5557 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.01274, allocations: 4 kB / 0.5557 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.395e-05/0.01281, allocations: 23.91 kB / 0.5557 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.01281, allocations: 4 kB / 0.5557 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.01283, allocations: 4 kB / 0.5557 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.01283, allocations: 4 kB / 0.5557 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01283, allocations: 0 / 0.5557 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.01305, allocations: 239.2 kB / 0.5559 GB, free: 0.6406 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.856e-05/0.01308, allocations: 23.86 kB / 0.556 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.0131, allocations: 3.984 kB / 0.556 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.839e-05/0.01317, allocations: 12 kB / 0.556 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.293e-05/0.01323, allocations: 11.97 kB / 0.556 GB, free: 0.5898 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.01324, allocations: 0 / 0.556 GB, free: 0.5898 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001479/0.01339, allocations: 203.1 kB / 0.5562 GB, free: 404 kB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.01339, allocations: 0 / 0.5562 GB, free: 404 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001992/0.01359, allocations: 51.89 kB / 0.5562 GB, free: 352 kB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (booleanExpression.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004949/0.01408, allocations: 0.7747 MB / 0.557 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002105/0.0143, allocations: 91.89 kB / 0.5571 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.0143, allocations: 192 / 0.5571 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.322e-05/0.01437, allocations: 47.86 kB / 0.5571 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.01469, allocations: 37.19 kB / 0.5572 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.01675, allocations: 2.225 MB / 0.5593 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.01686, allocations: 138.9 kB / 0.5595 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.87e-05/0.01694, allocations: 25.94 kB / 0.5595 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.01704, allocations: 84.47 kB / 0.5596 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of SimCode: time 8.52e-07/0.01705, allocations: 0 / 0.5596 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03806/0.0551, allocations: 5.489 MB / 0.5649 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.383/8.438, allocations: 6.031 kB / 0.5649 GB, free: 7.504 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe ; mkfifo BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe >> ../files/BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_Building_Examples_HeatRecoveryVentilation_fmu --startTime=0 --stopTime=7200 --stepSize=600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_Building_Examples_HeatRecoveryVentilation.fmu > BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.145311717875302] Failed to read output from testmodel.py, exit status != 0: 8.520299263298512 8.528446068 8.519613914 Calling exit ...