Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.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.0009541/0.0009541, 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.001144/0.001144, allocations: 165.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.8949/0.8949, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.5535/0.5535, allocations: 110.2 MB / 369.4 MB, free: 12.64 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.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.634e-06/1.634e-06, allocations: 0 / 0.5472 GB, free: 9.855 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.182e-05, allocations: 2.281 kB / 0.5472 GB, free: 9.852 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00453/0.004552, allocations: 3.91 MB / 0.5511 GB, free: 5.91 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0001377/0.00469, allocations: 139.4 kB / 0.5512 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.585e-05/0.004716, allocations: 0 / 0.5512 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.004824, allocations: 3.938 kB / 0.5512 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 8.145e-05/0.004905, allocations: 15.91 kB / 0.5512 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.005214, allocations: 87.67 kB / 0.5513 GB, free: 5.668 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.875e-05/0.005292, allocations: 31.86 kB / 0.5513 GB, free: 5.637 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.51e-05/0.005337, allocations: 4 kB / 0.5513 GB, free: 5.633 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.767e-05/0.005395, allocations: 19.91 kB / 0.5513 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.134e-05/0.005466, allocations: 15.92 kB / 0.5514 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.005482, allocations: 0 / 0.5514 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.005645, allocations: 51.81 kB / 0.5514 GB, free: 5.547 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.821e-05/0.005693, allocations: 7.984 kB / 0.5514 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.206e-05/0.005715, allocations: 15.98 kB / 0.5514 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.005844, allocations: 67.8 kB / 0.5515 GB, free: 5.457 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.005848, allocations: 4 kB / 0.5515 GB, free: 5.453 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.363e-06/0.00585, allocations: 0 / 0.5515 GB, free: 5.453 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.005854, allocations: 0 / 0.5515 GB, free: 5.453 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003084/0.006163, allocations: 254.3 kB / 0.5517 GB, free: 5.176 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.006201, allocations: 11.97 kB / 0.5518 GB, free: 5.164 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.024e-05/0.006232, allocations: 38.69 kB / 0.5518 GB, free: 5.117 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/0.006261, allocations: 0.9375 kB / 0.5518 GB, free: 5.117 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.669e-05/0.006338, allocations: 105.8 kB / 0.5519 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.064e-05/0.006399, allocations: 55.97 kB / 0.552 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-06/0.006406, allocations: 4.375 kB / 0.552 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.00652, allocations: 71.94 kB / 0.552 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.006527, allocations: 7.938 kB / 0.552 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.607e-06/0.006536, allocations: 0 / 0.552 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.006552, allocations: 0 / 0.552 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.644e-05/0.006589, allocations: 15.98 kB / 0.552 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000357/0.006946, allocations: 235.9 kB / 0.5523 GB, free: 4.539 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.793e-05/0.006984, allocations: 18.58 kB / 0.5523 GB, free: 4.512 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.413e-05/0.006998, allocations: 8.844 kB / 0.5523 GB, free: 4.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.354e-05/0.007041, allocations: 8.062 kB / 0.5523 GB, free: 4.492 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.007062, allocations: 34.56 kB / 0.5523 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.007063, allocations: 0 / 0.5523 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001242/0.007187, allocations: 41.64 kB / 0.5524 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.007214, allocations: 55.39 kB / 0.5524 GB, free: 4.336 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.877e-05/0.007282, allocations: 101.8 kB / 0.5525 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.007295, allocations: 29.64 kB / 0.5526 GB, free: 4.191 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.512e-05/0.00733, allocations: 88.09 kB / 0.5526 GB, free: 4.102 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.352e-06/0.007337, allocations: 7.938 kB / 0.5526 GB, free: 4.094 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/0.007363, allocations: 17.72 kB / 0.5527 GB, free: 4.07 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.85e-05/0.007432, allocations: 310.8 kB / 0.553 GB, free: 3.758 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.347e-05/0.007445, allocations: 12.12 kB / 0.553 GB, free: 3.746 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.043e-05/0.007465, allocations: 17.7 kB / 0.553 GB, free: 3.723 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.048e-05/0.007496, allocations: 29.59 kB / 0.553 GB, free: 3.688 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.007498, allocations: 0 / 0.553 GB, free: 3.688 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.381e-05/0.007552, allocations: 45.69 kB / 0.5531 GB, free: 3.637 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.007564, allocations: 4 kB / 0.5531 GB, free: 3.633 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.007568, allocations: 4 kB / 0.5531 GB, free: 3.629 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.00758, allocations: 0 / 0.5531 GB, free: 3.629 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.386e-05/0.007624, allocations: 12 kB / 0.5531 GB, free: 3.617 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.007628, allocations: 0 / 0.5531 GB, free: 3.617 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.284e-05/0.007641, allocations: 4 kB / 0.5531 GB, free: 3.613 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.007651, allocations: 0 / 0.5531 GB, free: 3.613 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.51e-05/0.007706, allocations: 117.8 kB / 0.5532 GB, free: 3.488 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.00772, allocations: 4 kB / 0.5532 GB, free: 3.484 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.739e-05/0.007817, allocations: 116.9 kB / 0.5533 GB, free: 3.363 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-05/0.007857, allocations: 184.2 kB / 0.5535 GB, free: 3.176 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.153e-05/0.007899, allocations: 184.2 kB / 0.5537 GB, free: 2.988 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.831e-05/0.007937, allocations: 184.3 kB / 0.5538 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.008078, allocations: 388.1 kB / 0.5542 GB, free: 2.371 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.29e-05/0.008101, allocations: 101 kB / 0.5543 GB, free: 2.266 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.458e-05/0.008125, allocations: 104.9 kB / 0.5544 GB, free: 2.156 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.596e-05/0.008171, allocations: 184.3 kB / 0.5546 GB, free: 1.969 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.42e-05/0.008216, allocations: 180.2 kB / 0.5548 GB, free: 1.785 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.244e-05/0.008258, allocations: 176.3 kB / 0.5549 GB, free: 1.605 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.269e-05/0.008301, allocations: 184.2 kB / 0.5551 GB, free: 1.418 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.849e-05/0.008399, allocations: 307.7 kB / 0.5554 GB, free: 1.094 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.209e-05/0.008431, allocations: 108.9 kB / 0.5555 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.416e-05/0.008485, allocations: 180.2 kB / 0.5557 GB, free: 0.7969 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.008591, allocations: 109.3 kB / 0.5558 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.008638, allocations: 184.2 kB / 0.5559 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/0.008663, allocations: 105.3 kB / 0.556 GB, free: 396 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.012e-05/0.008704, allocations: 95.2 kB / 0.5561 GB, free: 300 kB / 0.5105 GB Notification: Performance of sort global known variables: time 8.1e-08/0.008704, allocations: 0 / 0.5561 GB, free: 300 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001856/0.008889, allocations: 15.94 kB / 0.5562 GB, free: 284 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0003938/0.009283, allocations: 0.832 MB / 0.557 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.177e-05/0.009355, allocations: 8 kB / 0.557 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.009357, allocations: 128 / 0.557 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.884e-06/0.009359, allocations: 8.031 kB / 0.557 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.009716, allocations: 467.6 kB / 0.5574 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000754/0.01047, allocations: 1.316 MB / 0.5587 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.956e-05/0.01051, allocations: 59.34 kB / 0.5588 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.541e-05/0.01054, allocations: 4 kB / 0.5588 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.994e-05/0.01057, allocations: 20.5 kB / 0.5588 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of SimCode: time 9.52e-07/0.01058, allocations: 0 / 0.5588 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01441/0.02498, allocations: 2.186 MB / 0.5609 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.979/7.004, allocations: 8.891 kB / 0.5609 GB, free: 11.38 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.425347940064967] Failed to read output from testmodel.py, exit status != 0: 7.086253974586725 7.099180839 7.091621117 Calling exit ...