Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 102.9 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 190.5 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7711/0.7711, allocations: 122.9 MB / 413.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 63.91 kB / 0.4912 GB, free: 7.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3775, allocations: 77.94 MB / 0.5673 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.004393/0.382, allocations: 1.754 MB / 0.569 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.3835, allocations: 0.6609 MB / 0.5696 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.3836, allocations: 1.938 kB / 0.5696 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.6e-05/0.3837, allocations: 12.05 kB / 0.5697 GB, free: 30.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.3839, allocations: 19.8 kB / 0.5697 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008485/0.3848, allocations: 166.2 kB / 0.5698 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002429/0.385, allocations: 121.7 kB / 0.57 GB, free: 30.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.3852, allocations: 49.09 kB / 0.57 GB, free: 30.78 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002026/0.3854, allocations: 61.5 kB / 0.5701 GB, free: 30.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.3856, allocations: 54.95 kB / 0.5701 GB, free: 30.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.389e-05/0.3857, allocations: 11.41 kB / 0.5701 GB, free: 30.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.3859, allocations: 44.67 kB / 0.5702 GB, free: 30.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.941e-05/0.3859, allocations: 33.84 kB / 0.5702 GB, free: 30.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.163e-05/0.386, allocations: 57.22 kB / 0.5703 GB, free: 30.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.3862, allocations: 140 kB / 0.5704 GB, free: 30.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.3863, allocations: 0 / 0.5704 GB, free: 30.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3863, allocations: 5.062 kB / 0.5704 GB, free: 30.6 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.3863, allocations: 0 / 0.5704 GB, free: 30.6 MB / 446.1 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.0007796/0.3871, allocations: 439.9 kB / 0.5708 GB, free: 30.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.3871, allocations: 9.344 kB / 0.5708 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.339e-05/0.3872, allocations: 45.41 kB / 0.5709 GB, free: 30.15 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/0.3885, allocations: 110.5 kB / 0.571 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.3887, allocations: 184.3 kB / 0.5711 GB, free: 29.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.3888, allocations: 65.7 kB / 0.5712 GB, free: 29.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.3888, allocations: 10 kB / 0.5712 GB, free: 29.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006981/0.3895, allocations: 169.8 kB / 0.5714 GB, free: 29.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.3896, allocations: 0 / 0.5714 GB, free: 29.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.3896, allocations: 5.531 kB / 0.5714 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.3896, allocations: 2.875 kB / 0.5714 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008607/0.3905, allocations: 156.5 kB / 0.5715 GB, free: 29.76 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.3922, allocations: 494.5 kB / 0.572 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.3937, allocations: 219.8 kB / 0.5722 GB, free: 29.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004223/0.3942, allocations: 83 kB / 0.5723 GB, free: 29.33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.3942, allocations: 1.469 kB / 0.5723 GB, free: 29.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.3943, allocations: 39.78 kB / 0.5723 GB, free: 29.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.3943, allocations: 0.5 kB / 0.5723 GB, free: 29.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.001429/0.3957, allocations: 260 kB / 0.5726 GB, free: 29.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.3957, allocations: 57.36 kB / 0.5726 GB, free: 29.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.3959, allocations: 141.9 kB / 0.5728 GB, free: 29.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.3959, allocations: 25.7 kB / 0.5728 GB, free: 28.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.925e-05/0.396, allocations: 109.7 kB / 0.5729 GB, free: 28.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.396, allocations: 18.58 kB / 0.5729 GB, free: 28.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.657e-05/0.3961, allocations: 24.19 kB / 0.5729 GB, free: 28.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.574e-05/0.3962, allocations: 319.4 kB / 0.5732 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000446/0.3967, allocations: 76.17 kB / 0.5733 GB, free: 28.53 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004569/0.3971, allocations: 93.3 kB / 0.5734 GB, free: 28.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008554/0.398, allocations: 165 kB / 0.5736 GB, free: 28.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.398, allocations: 1.062 kB / 0.5736 GB, free: 28.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0009982/0.399, allocations: 201.2 kB / 0.5738 GB, free: 28.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.399, allocations: 6.453 kB / 0.5738 GB, free: 28.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3991, allocations: 5.156 kB / 0.5738 GB, free: 28.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.3991, allocations: 1.344 kB / 0.5738 GB, free: 28.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003548/0.3994, allocations: 39.38 kB / 0.5738 GB, free: 28.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.3995, allocations: 1.188 kB / 0.5738 GB, free: 28.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002742/0.3998, allocations: 30.88 kB / 0.5738 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.3998, allocations: 7.25 kB / 0.5738 GB, free: 28.34 MB / 446.1 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 0.0001014/0.3999, allocations: 115.6 kB / 0.574 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.296e-05/0.4, allocations: 8.891 kB / 0.574 GB, free: 28.22 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009705/0.401, allocations: 212.6 kB / 0.5742 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.401, allocations: 1.688 kB / 0.5742 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.401, allocations: 4.641 kB / 0.5742 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.401, allocations: 1.781 kB / 0.5742 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003322/0.4013, allocations: 245.9 kB / 0.5744 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.4013, allocations: 384 / 0.5744 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003057/0.4017, allocations: 33.86 kB / 0.5744 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.4017, allocations: 4 kB / 0.5744 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.4017, allocations: 6.328 kB / 0.5745 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.4017, allocations: 1.75 kB / 0.5745 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.4017, allocations: 0.5625 kB / 0.5745 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009078/0.4026, allocations: 290.1 kB / 0.5747 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.375e-05/0.4027, allocations: 84.39 kB / 0.5748 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.4027, allocations: 6.141 kB / 0.5748 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004336/0.4032, allocations: 29.89 kB / 0.5748 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.4032, allocations: 5.344 kB / 0.5749 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/0.4033, allocations: 13.23 kB / 0.5749 GB, free: 27.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.636e-05/0.4034, allocations: 102 kB / 0.575 GB, free: 27.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4034, allocations: 1.188 kB / 0.575 GB, free: 27.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004863/0.4039, allocations: 27.62 kB / 0.575 GB, free: 27.54 MB / 446.1 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.001165/0.405, allocations: 0.8167 MB / 0.5758 GB, free: 26.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009777/0.406, allocations: 164.2 kB / 0.5759 GB, free: 26.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.406, allocations: 6 kB / 0.5759 GB, free: 26.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000453/0.4065, allocations: 81.78 kB / 0.576 GB, free: 26.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000489/0.407, allocations: 7.703 kB / 0.576 GB, free: 26.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004133/0.4112, allocations: 1.834 MB / 0.5778 GB, free: 25.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001513/0.4113, allocations: 0.6985 MB / 0.5785 GB, free: 24.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001543/0.4115, allocations: 15.64 kB / 0.5785 GB, free: 24.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.4116, allocations: 35.98 kB / 0.5786 GB, free: 24.68 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4116, allocations: 0 / 0.5786 GB, free: 24.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.4358, allocations: 2.708 MB / 0.5812 GB, free: 23.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.232/8.668, allocations: 10.03 kB / 0.5812 GB, free: 23.65 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)