Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007756/0.0007756, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008695/0.0008695, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8477/0.8477, 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/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00134/0.00134, allocations: 233.6 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6347/0.6347, allocations: 138.4 MB / 454.3 MB, free: 1.609 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.6463 GB, free: 29.03 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.59e-05/1.736e-05, allocations: 6.281 kB / 0.6463 GB, free: 29.02 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.001861/0.001879, allocations: 1.764 MB / 0.648 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.000998/0.002877, allocations: 0.6982 MB / 0.6487 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.431e-05/0.002951, allocations: 1.312 kB / 0.6487 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.578e-05/0.002987, allocations: 15.8 kB / 0.6487 GB, free: 27.1 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.44e-05/0.003041, allocations: 18.67 kB / 0.6488 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004742/0.003515, allocations: 185.3 kB / 0.6489 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.003657, allocations: 125.6 kB / 0.6491 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.003779, allocations: 41.31 kB / 0.6491 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.003929, allocations: 90.55 kB / 0.6492 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.819e-05/0.003987, allocations: 32.39 kB / 0.6492 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.004008, allocations: 15 kB / 0.6492 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 8.62e-05/0.004095, allocations: 46.56 kB / 0.6493 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.207e-05/0.004117, allocations: 32.86 kB / 0.6493 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.062e-05/0.004147, allocations: 37.67 kB / 0.6493 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.004324, allocations: 173.2 kB / 0.6495 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.004327, allocations: 0 / 0.6495 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.383e-06/0.004329, allocations: 1.062 kB / 0.6495 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.004333, allocations: 0 / 0.6495 GB, free: 26.59 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003743/0.004707, allocations: 367.2 kB / 0.6499 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.004745, allocations: 9.625 kB / 0.6499 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.724e-05/0.004772, allocations: 46.2 kB / 0.6499 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004721/0.005244, allocations: 130.5 kB / 0.65 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.005442, allocations: 153.9 kB / 0.6502 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.822e-05/0.0055, allocations: 122.4 kB / 0.6503 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.005514, allocations: 5.312 kB / 0.6503 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/0.005792, allocations: 228.3 kB / 0.6505 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.005799, allocations: 1.406 kB / 0.6505 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.005814, allocations: 3.984 kB / 0.6505 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.005819, allocations: 2.594 kB / 0.6505 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002801/0.006099, allocations: 168.6 kB / 0.6507 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005682/0.006667, allocations: 430.4 kB / 0.6511 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004536/0.007121, allocations: 208.9 kB / 0.6513 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.007261, allocations: 82.12 kB / 0.6514 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.007283, allocations: 5.203 kB / 0.6514 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.485e-05/0.007298, allocations: 33.41 kB / 0.6514 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.007299, allocations: 0 / 0.6514 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0005184/0.007818, allocations: 266.6 kB / 0.6517 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.76e-05/0.007835, allocations: 52.78 kB / 0.6517 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.538e-05/0.007901, allocations: 143.6 kB / 0.6519 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.007913, allocations: 26.92 kB / 0.6519 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.281e-05/0.007946, allocations: 110.2 kB / 0.652 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.479e-05/0.00796, allocations: 22.55 kB / 0.652 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.007999, allocations: 24.05 kB / 0.652 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.786e-05/0.008026, allocations: 325.2 kB / 0.6523 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.008171, allocations: 74.77 kB / 0.6524 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.008314, allocations: 93.55 kB / 0.6525 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.008586, allocations: 168.9 kB / 0.6527 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.008588, allocations: 0 / 0.6527 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003167/0.008905, allocations: 203.1 kB / 0.6529 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.00892, allocations: 9.281 kB / 0.6529 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.008925, allocations: 1.406 kB / 0.6529 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.00894, allocations: 1.219 kB / 0.6529 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.009071, allocations: 34.11 kB / 0.6529 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.009077, allocations: 5.266 kB / 0.6529 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.907e-05/0.009156, allocations: 28.53 kB / 0.6529 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.009167, allocations: 2.688 kB / 0.6529 GB, free: 23.8 MB / 0.5105 GB 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 5.426e-05/0.009221, allocations: 123.8 kB / 0.653 GB, free: 23.67 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.009245, allocations: 12.2 kB / 0.6531 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000356/0.009601, allocations: 204.2 kB / 0.6533 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.009604, allocations: 3.984 kB / 0.6533 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.009608, allocations: 1.469 kB / 0.6533 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.009611, allocations: 3.938 kB / 0.6533 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.009737, allocations: 182.6 kB / 0.6534 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.009738, allocations: 0 / 0.6534 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.105e-05/0.009829, allocations: 39.64 kB / 0.6535 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.009832, allocations: 5.219 kB / 0.6535 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.009841, allocations: 7.984 kB / 0.6535 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.009843, allocations: 1.438 kB / 0.6535 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.009844, allocations: 0 / 0.6535 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003175/0.01016, allocations: 279.4 kB / 0.6538 GB, free: 23.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.816e-06/0.01017, allocations: 7.516 kB / 0.6538 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.01019, allocations: 17.69 kB / 0.6538 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.01031, allocations: 28.11 kB / 0.6538 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.01034, allocations: 10.3 kB / 0.6538 GB, free: 23.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.01035, allocations: 7.359 kB / 0.6538 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.243e-05/0.01039, allocations: 107.5 kB / 0.6539 GB, free: 22.97 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/0.01039, allocations: 0 / 0.6539 GB, free: 22.97 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001676/0.01055, allocations: 31.64 kB / 0.654 GB, free: 22.96 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 (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.0004297/0.01098, allocations: 0.8132 MB / 0.6548 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003503/0.01133, allocations: 167.8 kB / 0.6549 GB, free: 22.13 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01134, allocations: 0 / 0.6549 GB, free: 22.13 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.01149, allocations: 77.53 kB / 0.655 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.01172, allocations: 8.469 kB / 0.655 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.01331, allocations: 1.853 MB / 0.6568 GB, free: 20.52 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.011e-05/0.01336, allocations: 86.41 kB / 0.6569 GB, free: 20.43 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.749e-05/0.01343, allocations: 21.84 kB / 0.6569 GB, free: 20.42 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.197e-05/0.01349, allocations: 33.23 kB / 0.6569 GB, free: 20.39 MB / 0.5105 GB Notification: Performance of SimCode: time 5.81e-07/0.01349, allocations: 0 / 0.6569 GB, free: 20.39 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01518/0.02867, allocations: 3.604 MB / 0.6605 GB, free: 18.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.397/6.426, allocations: 8.938 kB / 0.6605 GB, free: 18.3 MB / 0.5105 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothBlocks.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.014272147789598] Failed to read output from testmodel.py, exit status != 0: 6.501795716583729 6.507226683 6.501623619 Calling exit ...