Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.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.0007336/0.0007336, 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.0008122/0.0008122, 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.9207/0.9207, 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/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.5521/0.5521, allocations: 110.3 MB / 369.4 MB, free: 12.62 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.SmoothBlocks,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 0.5473 GB, free: 8.742 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057e-05/1.164e-05, allocations: 6.281 kB / 0.5473 GB, free: 8.734 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.001861/0.001872, allocations: 1.753 MB / 0.549 GB, free: 6.965 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.002914, allocations: 0.6901 MB / 0.5497 GB, free: 6.266 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.819e-05/0.002973, allocations: 4 kB / 0.5497 GB, free: 6.262 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 3.224e-05/0.003005, allocations: 7.875 kB / 0.5497 GB, free: 6.254 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 5.091e-05/0.003056, allocations: 23.78 kB / 0.5497 GB, free: 6.23 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004597/0.003515, allocations: 183.1 kB / 0.5499 GB, free: 6.055 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.003664, allocations: 127.6 kB / 0.55 GB, free: 5.93 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.003787, allocations: 41.53 kB / 0.55 GB, free: 5.887 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.00393, allocations: 83.86 kB / 0.5501 GB, free: 5.805 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.879e-05/0.003989, allocations: 31.89 kB / 0.5502 GB, free: 5.773 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.004009, allocations: 12 kB / 0.5502 GB, free: 5.762 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.034e-05/0.004089, allocations: 47.95 kB / 0.5502 GB, free: 5.715 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 2.352e-05/0.004113, allocations: 35.84 kB / 0.5502 GB, free: 5.68 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 3.318e-05/0.004146, allocations: 43.83 kB / 0.5503 GB, free: 5.637 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.004321, allocations: 175.5 kB / 0.5505 GB, free: 5.465 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.004323, allocations: 4 kB / 0.5505 GB, free: 5.461 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.004324, allocations: 0 / 0.5505 GB, free: 5.461 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.004328, allocations: 0 / 0.5505 GB, free: 5.461 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000406/0.004734, allocations: 377.6 kB / 0.5508 GB, free: 5.062 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.004769, allocations: 8.031 kB / 0.5508 GB, free: 5.055 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.59e-05/0.004805, allocations: 42.73 kB / 0.5509 GB, free: 5.004 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004676/0.005273, allocations: 132.6 kB / 0.551 GB, free: 4.875 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.005468, allocations: 158 kB / 0.5511 GB, free: 4.695 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.581e-05/0.005544, allocations: 119.4 kB / 0.5513 GB, free: 4.555 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.005558, allocations: 8.375 kB / 0.5513 GB, free: 4.547 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003068/0.005865, allocations: 229.8 kB / 0.5515 GB, free: 4.305 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.005873, allocations: 0 / 0.5515 GB, free: 4.305 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.005889, allocations: 0 / 0.5515 GB, free: 4.305 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.005894, allocations: 4 kB / 0.5515 GB, free: 4.301 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002897/0.006184, allocations: 155.8 kB / 0.5516 GB, free: 4.148 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006113/0.006795, allocations: 429.2 kB / 0.552 GB, free: 3.688 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004651/0.00726, allocations: 218.2 kB / 0.5523 GB, free: 3.465 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.0074, allocations: 76.91 kB / 0.5523 GB, free: 3.387 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.007419, allocations: 4 kB / 0.5523 GB, free: 3.383 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.00744, allocations: 38.55 kB / 0.5524 GB, free: 3.336 MB / 474.7 MB Notification: Performance of pre-optimization done (n=6): time 8.12e-07/0.007441, allocations: 4 kB / 0.5524 GB, free: 3.332 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005227/0.007964, allocations: 261.3 kB / 0.5526 GB, free: 3.07 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/0.007988, allocations: 59.34 kB / 0.5527 GB, free: 3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.106e-05/0.008069, allocations: 149.2 kB / 0.5528 GB, free: 2.84 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.008088, allocations: 25.7 kB / 0.5528 GB, free: 2.809 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.008135, allocations: 104.3 kB / 0.5529 GB, free: 2.703 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.008153, allocations: 23.8 kB / 0.553 GB, free: 2.68 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.008194, allocations: 25.7 kB / 0.553 GB, free: 2.648 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.868e-05/0.008273, allocations: 318.8 kB / 0.5533 GB, free: 2.328 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.008417, allocations: 75.92 kB / 0.5534 GB, free: 2.254 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.008565, allocations: 98.48 kB / 0.5535 GB, free: 2.148 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.008851, allocations: 166.3 kB / 0.5536 GB, free: 1.977 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.008854, allocations: 4 kB / 0.5536 GB, free: 1.973 MB / 474.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003222/0.009176, allocations: 197.4 kB / 0.5538 GB, free: 1.773 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.009189, allocations: 7.938 kB / 0.5538 GB, free: 1.766 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.009194, allocations: 0 / 0.5538 GB, free: 1.766 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.009205, allocations: 8.062 kB / 0.5538 GB, free: 1.758 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.009325, allocations: 31.95 kB / 0.5539 GB, free: 1.727 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.00933, allocations: 4 kB / 0.5539 GB, free: 1.723 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.112e-05/0.009412, allocations: 31.91 kB / 0.5539 GB, free: 1.691 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.009421, allocations: 320 / 0.5539 GB, free: 1.691 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.519e-05/0.009486, allocations: 121.8 kB / 0.554 GB, free: 1.562 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.009508, allocations: 11.89 kB / 0.554 GB, free: 1.551 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003575/0.009866, allocations: 210.2 kB / 0.5542 GB, free: 1.336 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.009867, allocations: 0 / 0.5542 GB, free: 1.336 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.009872, allocations: 7.984 kB / 0.5542 GB, free: 1.328 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.009875, allocations: 4 kB / 0.5542 GB, free: 1.324 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.01002, allocations: 181.4 kB / 0.5544 GB, free: 1.105 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.01003, allocations: 3.938 kB / 0.5544 GB, free: 1.102 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.177e-05/0.01012, allocations: 35.95 kB / 0.5544 GB, free: 1.066 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01012, allocations: 3.938 kB / 0.5544 GB, free: 1.062 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.01013, allocations: 3.984 kB / 0.5545 GB, free: 1.059 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.01013, allocations: 0 / 0.5545 GB, free: 1.059 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.01013, allocations: 4 kB / 0.5545 GB, free: 1.055 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003352/0.01047, allocations: 291.3 kB / 0.5547 GB, free: 0.7539 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-06/0.01047, allocations: 3.953 kB / 0.5547 GB, free: 0.75 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.01049, allocations: 7.938 kB / 0.5547 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.01062, allocations: 31.95 kB / 0.5548 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.009e-05/0.01065, allocations: 3.984 kB / 0.5548 GB, free: 0.707 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.01066, allocations: 11.98 kB / 0.5548 GB, free: 0.6953 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.437e-05/0.0107, allocations: 109.5 kB / 0.5549 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.0107, allocations: 0 / 0.5549 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001578/0.01086, allocations: 24 kB / 0.5549 GB, free: 0.5664 MB / 474.7 MB 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 (6): * Single equations (assignments): 6 * 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.0005203/0.01138, allocations: 0.8254 MB / 0.5557 GB, free: 15.71 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003313/0.01171, allocations: 159.8 kB / 0.5559 GB, free: 15.55 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01171, allocations: 3.938 kB / 0.5559 GB, free: 15.55 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004243/0.01214, allocations: 84.28 kB / 0.556 GB, free: 15.47 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.01233, allocations: 16.52 kB / 0.556 GB, free: 15.46 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.01396, allocations: 1.84 MB / 0.5578 GB, free: 13.53 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.09e-05/0.01401, allocations: 93.31 kB / 0.5579 GB, free: 13.41 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.454e-05/0.01407, allocations: 15.98 kB / 0.5579 GB, free: 13.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.234e-05/0.01413, allocations: 36.47 kB / 0.5579 GB, free: 13.36 MB / 490.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01413, allocations: 0 / 0.5579 GB, free: 13.36 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01384/0.02797, allocations: 3.579 MB / 0.5614 GB, free: 9.941 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.718/6.746, allocations: 14.95 kB / 0.5614 GB, free: 9.93 MB / 490.7 MB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.288384221494198] Failed to read output from testmodel.py, exit status != 0: 6.82949317060411 6.839840587 6.833385282 Calling exit ...