Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.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.000759/0.000759, allocations: 76.44 kB / 19.17 MB, free: 0.7383 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.0007636/0.0007636, allocations: 173.2 kB / 22.46 MB, free: 2.098 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.916/0.916, 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/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.5242/0.5242, allocations: 110.2 MB / 369.4 MB, free: 12.63 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.Utilities.Math.Examples.Average,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.5473 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.204e-05/2.35e-05, allocations: 6.219 kB / 0.5473 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.002022/0.002045, allocations: 1.545 MB / 0.5488 GB, free: 8.254 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0002698/0.002315, allocations: 120.5 kB / 0.5489 GB, free: 8.133 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.58e-05/0.002361, allocations: 3.938 kB / 0.5489 GB, free: 8.129 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.002473, allocations: 7.938 kB / 0.5489 GB, free: 8.121 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 2.063e-05/0.002494, allocations: 11.88 kB / 0.5489 GB, free: 8.109 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.00274, allocations: 27.95 kB / 0.549 GB, free: 8.082 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.575e-05/0.002826, allocations: 55.78 kB / 0.549 GB, free: 8.027 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.00294, allocations: 19.91 kB / 0.549 GB, free: 8.008 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.924e-05/0.002999, allocations: 27.98 kB / 0.5491 GB, free: 7.98 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.87e-05/0.003058, allocations: 27.91 kB / 0.5491 GB, free: 7.953 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.003074, allocations: 4 kB / 0.5491 GB, free: 7.949 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.703e-05/0.003132, allocations: 15.98 kB / 0.5491 GB, free: 7.934 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.428e-05/0.003176, allocations: 23.91 kB / 0.5491 GB, free: 7.91 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.0032, allocations: 8 kB / 0.5491 GB, free: 7.902 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.003335, allocations: 67.78 kB / 0.5492 GB, free: 7.836 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.003338, allocations: 0 / 0.5492 GB, free: 7.836 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.462e-06/0.00334, allocations: 3.938 kB / 0.5492 GB, free: 7.832 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.003344, allocations: 3.938 kB / 0.5492 GB, free: 7.828 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003973/0.003741, allocations: 298.1 kB / 0.5495 GB, free: 7.504 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.003784, allocations: 12.03 kB / 0.5495 GB, free: 7.492 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.176e-05/0.003816, allocations: 46.67 kB / 0.5495 GB, free: 7.438 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.668e-05/0.003843, allocations: 8.891 kB / 0.5496 GB, free: 7.43 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.003972, allocations: 125.7 kB / 0.5497 GB, free: 7.281 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.003981, allocations: 384 / 0.5497 GB, free: 7.281 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.00399, allocations: 4.375 kB / 0.5497 GB, free: 7.277 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.004176, allocations: 90.14 kB / 0.5498 GB, free: 7.184 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.004182, allocations: 192 / 0.5498 GB, free: 7.184 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.004191, allocations: 384 / 0.5498 GB, free: 7.184 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.004198, allocations: 8.125 kB / 0.5498 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.004352, allocations: 83.91 kB / 0.5499 GB, free: 7.094 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/0.00472, allocations: 287.8 kB / 0.5501 GB, free: 6.77 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.004848, allocations: 54.53 kB / 0.5502 GB, free: 6.707 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.672e-05/0.004925, allocations: 44.92 kB / 0.5502 GB, free: 6.66 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/0.004957, allocations: 0 / 0.5502 GB, free: 6.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.004978, allocations: 38.55 kB / 0.5503 GB, free: 6.613 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.004978, allocations: 0 / 0.5503 GB, free: 6.613 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0003193/0.005298, allocations: 141.7 kB / 0.5504 GB, free: 6.469 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.005329, allocations: 51.41 kB / 0.5504 GB, free: 6.406 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.764e-05/0.005397, allocations: 113.8 kB / 0.5505 GB, free: 6.285 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.879e-06/0.005407, allocations: 25.7 kB / 0.5506 GB, free: 6.254 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.014e-05/0.005447, allocations: 96.08 kB / 0.5507 GB, free: 6.156 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-05/0.005465, allocations: 15.89 kB / 0.5507 GB, free: 6.141 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.005493, allocations: 9.719 kB / 0.5507 GB, free: 6.125 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.073e-05/0.005574, allocations: 322.8 kB / 0.551 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.741e-05/0.005651, allocations: 31.97 kB / 0.551 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.627e-05/0.005717, allocations: 35.95 kB / 0.5511 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.00586, allocations: 80.66 kB / 0.5511 GB, free: 5.652 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.005862, allocations: 0 / 0.5511 GB, free: 5.652 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001727/0.006035, allocations: 109.5 kB / 0.5512 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.006049, allocations: 11.98 kB / 0.5513 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.006054, allocations: 0 / 0.5513 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.006066, allocations: 0 / 0.5513 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.039e-05/0.006146, allocations: 15.98 kB / 0.5513 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.006151, allocations: 3.938 kB / 0.5513 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.617e-05/0.006187, allocations: 11.98 kB / 0.5513 GB, free: 5.496 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.006207, allocations: 0 / 0.5513 GB, free: 5.496 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: 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 6.132e-05/0.006269, allocations: 125.8 kB / 0.5514 GB, free: 5.363 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.527e-05/0.006284, allocations: 7.953 kB / 0.5514 GB, free: 5.355 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/0.006492, allocations: 109.5 kB / 0.5515 GB, free: 5.234 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.006494, allocations: 0 / 0.5515 GB, free: 5.234 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.006498, allocations: 0 / 0.5515 GB, free: 5.234 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.006501, allocations: 4 kB / 0.5515 GB, free: 5.23 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.006613, allocations: 148.7 kB / 0.5517 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.006615, allocations: 4 kB / 0.5517 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.332e-05/0.006658, allocations: 19.97 kB / 0.5517 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.00666, allocations: 0 / 0.5517 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.006667, allocations: 0 / 0.5517 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.006669, allocations: 0 / 0.5517 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.006669, allocations: 0 / 0.5517 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/0.006867, allocations: 203.4 kB / 0.5519 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.853e-06/0.006874, allocations: 8 kB / 0.5519 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.006885, allocations: 0 / 0.5519 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.124e-05/0.006936, allocations: 11.98 kB / 0.5519 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.006975, allocations: 15.92 kB / 0.5519 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.006982, allocations: 4 kB / 0.5519 GB, free: 4.766 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.391e-05/0.007016, allocations: 91.27 kB / 0.552 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.007016, allocations: 0 / 0.552 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001524/0.007169, allocations: 11.94 kB / 0.552 GB, free: 4.664 MB / 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 (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 Backend phase and start with SimCode phase: time 0.0004196/0.007588, allocations: 0.7438 MB / 0.5527 GB, free: 3.895 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002006/0.007789, allocations: 79.89 kB / 0.5528 GB, free: 3.816 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.00779, allocations: 0 / 0.5528 GB, free: 3.816 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.447e-05/0.007865, allocations: 47.95 kB / 0.5529 GB, free: 3.77 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.008116, allocations: 2.5 kB / 0.5529 GB, free: 3.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.009303, allocations: 1.431 MB / 0.5543 GB, free: 2.258 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.119e-05/0.009364, allocations: 79.19 kB / 0.5543 GB, free: 2.16 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.076e-05/0.009404, allocations: 7.984 kB / 0.5543 GB, free: 2.152 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.184e-05/0.009446, allocations: 16.5 kB / 0.5544 GB, free: 2.137 MB / 0.5105 GB Notification: Performance of SimCode: time 7.02e-07/0.009447, allocations: 0 / 0.5544 GB, free: 2.137 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/0.02688, allocations: 2.525 MB / 0.5568 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.754/6.781, allocations: 6.594 kB / 0.5568 GB, free: 15.75 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Average_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Average.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.249599803239107] Failed to read output from testmodel.py, exit status != 0: 6.858172595500946 6.868019132 6.862876163 Calling exit ...