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.001122/0.001122, allocations: 80.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.001058/0.001058, allocations: 165.9 kB / 22.45 MB, free: 2.102 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.9007/0.9007, 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.5207/0.5207, allocations: 110.2 MB / 369.4 MB, free: 12.6 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 2.244e-06/2.244e-06, allocations: 0 / 0.5473 GB, free: 8.754 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.603e-05, allocations: 6.281 kB / 0.5473 GB, free: 8.746 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.003631/0.003657, allocations: 1.763 MB / 0.549 GB, free: 6.973 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.004953, allocations: 0.6862 MB / 0.5497 GB, free: 6.277 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.939e-05/0.005033, allocations: 0 / 0.5497 GB, free: 6.277 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 4.564e-05/0.005078, allocations: 11.86 kB / 0.5497 GB, free: 6.266 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 7.213e-05/0.00515, allocations: 19.8 kB / 0.5497 GB, free: 6.246 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006252/0.005776, allocations: 187.2 kB / 0.5499 GB, free: 6.066 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.00597, allocations: 127.6 kB / 0.55 GB, free: 5.941 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.006121, allocations: 37.55 kB / 0.55 GB, free: 5.902 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002177/0.006339, allocations: 83.86 kB / 0.5501 GB, free: 5.82 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.114e-05/0.00641, allocations: 39.88 kB / 0.5502 GB, free: 5.781 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.006433, allocations: 12 kB / 0.5502 GB, free: 5.77 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.823e-05/0.006521, allocations: 43.97 kB / 0.5502 GB, free: 5.727 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 2.716e-05/0.006548, allocations: 39.77 kB / 0.5502 GB, free: 5.688 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 3.389e-05/0.006582, allocations: 39.91 kB / 0.5503 GB, free: 5.648 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.006769, allocations: 179.5 kB / 0.5505 GB, free: 5.473 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.006772, allocations: 0 / 0.5505 GB, free: 5.473 MB / 474.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.006773, allocations: 0 / 0.5505 GB, free: 5.473 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.006777, allocations: 3.938 kB / 0.5505 GB, free: 5.469 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.00046/0.007237, allocations: 369.7 kB / 0.5508 GB, free: 5.078 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.007277, allocations: 8.625 kB / 0.5508 GB, free: 5.07 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.863e-05/0.007316, allocations: 42.75 kB / 0.5509 GB, free: 5.02 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000477/0.007793, allocations: 132.6 kB / 0.551 GB, free: 4.891 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.007993, allocations: 162 kB / 0.5511 GB, free: 4.707 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.526e-05/0.008068, allocations: 115.4 kB / 0.5513 GB, free: 4.57 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.008084, allocations: 12.38 kB / 0.5513 GB, free: 4.559 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003269/0.008411, allocations: 225.6 kB / 0.5515 GB, free: 4.32 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.008418, allocations: 0 / 0.5515 GB, free: 4.32 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.008433, allocations: 4 kB / 0.5515 GB, free: 4.316 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.008438, allocations: 4 kB / 0.5515 GB, free: 4.312 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002971/0.008735, allocations: 166 kB / 0.5516 GB, free: 4.152 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006771/0.009413, allocations: 417.2 kB / 0.552 GB, free: 3.703 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004727/0.009885, allocations: 218.3 kB / 0.5523 GB, free: 3.48 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.01003, allocations: 76.89 kB / 0.5523 GB, free: 3.402 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.01005, allocations: 12 kB / 0.5523 GB, free: 3.391 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.01007, allocations: 30.56 kB / 0.5524 GB, free: 3.352 MB / 474.7 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.01007, allocations: 0 / 0.5524 GB, free: 3.352 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005319/0.0106, allocations: 269.3 kB / 0.5526 GB, free: 3.082 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.01063, allocations: 55.34 kB / 0.5527 GB, free: 3.016 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.034e-05/0.01071, allocations: 145.2 kB / 0.5528 GB, free: 2.859 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.01072, allocations: 29.7 kB / 0.5528 GB, free: 2.824 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.434e-05/0.01077, allocations: 108.3 kB / 0.5529 GB, free: 2.715 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.01079, allocations: 23.78 kB / 0.553 GB, free: 2.691 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.94e-05/0.01083, allocations: 29.7 kB / 0.553 GB, free: 2.656 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.045e-05/0.0109, allocations: 318.8 kB / 0.5533 GB, free: 2.336 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.01104, allocations: 79.91 kB / 0.5534 GB, free: 2.258 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.0112, allocations: 90.5 kB / 0.5535 GB, free: 2.16 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/0.01148, allocations: 162.4 kB / 0.5536 GB, free: 1.992 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01148, allocations: 4 kB / 0.5536 GB, free: 1.988 MB / 474.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003311/0.01182, allocations: 197.5 kB / 0.5538 GB, free: 1.789 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.01183, allocations: 11.94 kB / 0.5538 GB, free: 1.777 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.01183, allocations: 0 / 0.5538 GB, free: 1.777 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.01185, allocations: 7.984 kB / 0.5538 GB, free: 1.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.01197, allocations: 35.95 kB / 0.5539 GB, free: 1.734 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.01197, allocations: 4 kB / 0.5539 GB, free: 1.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.512e-05/0.01206, allocations: 23.92 kB / 0.5539 GB, free: 1.707 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.01207, allocations: 320 / 0.5539 GB, free: 1.707 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.844e-05/0.01213, allocations: 129.8 kB / 0.554 GB, free: 1.57 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.01216, allocations: 11.89 kB / 0.554 GB, free: 1.559 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003653/0.01252, allocations: 206.2 kB / 0.5542 GB, free: 1.348 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.01253, allocations: 4 kB / 0.5542 GB, free: 1.344 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.01253, allocations: 4 kB / 0.5542 GB, free: 1.34 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.01253, allocations: 0 / 0.5542 GB, free: 1.34 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.01268, allocations: 189.4 kB / 0.5544 GB, free: 1.113 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.01268, allocations: 3.938 kB / 0.5544 GB, free: 1.109 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.532e-05/0.01278, allocations: 31.95 kB / 0.5544 GB, free: 1.078 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01278, allocations: 3.938 kB / 0.5544 GB, free: 1.074 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.01279, allocations: 0 / 0.5544 GB, free: 1.074 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.01279, allocations: 0 / 0.5544 GB, free: 1.074 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01279, allocations: 4 kB / 0.5545 GB, free: 1.07 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003468/0.01314, allocations: 287.3 kB / 0.5547 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.106e-06/0.01315, allocations: 3.953 kB / 0.5547 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.01316, allocations: 11.94 kB / 0.5547 GB, free: 0.7578 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.01329, allocations: 31.95 kB / 0.5548 GB, free: 0.7266 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.87e-05/0.01332, allocations: 3.984 kB / 0.5548 GB, free: 0.7227 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.01333, allocations: 7.984 kB / 0.5548 GB, free: 0.7148 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.635e-05/0.01337, allocations: 109.5 kB / 0.5549 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01337, allocations: 0 / 0.5549 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001681/0.01354, allocations: 31.92 kB / 0.5549 GB, free: 0.5781 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.0007119/0.01425, allocations: 0.8293 MB / 0.5557 GB, free: 15.72 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003369/0.01459, allocations: 155.8 kB / 0.5559 GB, free: 15.57 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01459, allocations: 128 / 0.5559 GB, free: 15.57 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.01474, allocations: 84.17 kB / 0.556 GB, free: 15.48 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.01497, allocations: 14.34 kB / 0.556 GB, free: 15.47 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.01668, allocations: 1.852 MB / 0.5578 GB, free: 13.53 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.707e-05/0.01674, allocations: 89.31 kB / 0.5579 GB, free: 13.42 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.859e-05/0.0168, allocations: 15.98 kB / 0.5579 GB, free: 13.41 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.951e-05/0.01687, allocations: 32.48 kB / 0.5579 GB, free: 13.38 MB / 490.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01687, allocations: 0 / 0.5579 GB, free: 13.38 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0148/0.03167, allocations: 3.579 MB / 0.5614 GB, free: 9.953 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.894/6.925, allocations: 14.62 kB / 0.5614 GB, free: 9.941 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.308265439234674] Failed to read output from testmodel.py, exit status != 0: 7.005950597114861 7.014904803 7.006246886 Calling exit ...