Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.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.SmoothMin,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin",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.001141/0.001141, allocations: 105 kB / 16.27 MB, free: 5.953 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.001208/0.001208, allocations: 185.7 kB / 17.19 MB, free: 5.59 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.337/1.337, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7351/0.7351, allocations: 122.8 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.89 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3313, allocations: 77.93 MB / 0.5673 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.003042/0.3344, allocations: 1.448 MB / 0.5687 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004472/0.3349, allocations: 146.6 kB / 0.5688 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.002e-05/0.3349, allocations: 7.062 kB / 0.5688 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.537e-05/0.335, allocations: 4.781 kB / 0.5688 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.26e-05/0.3351, allocations: 0.6562 kB / 0.5688 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.3354, allocations: 29.84 kB / 0.5689 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.3355, allocations: 39.03 kB / 0.5689 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.3357, allocations: 19.89 kB / 0.5689 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.332e-05/0.3357, allocations: 26.25 kB / 0.569 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.558e-05/0.3358, allocations: 22 kB / 0.569 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.3358, allocations: 7.344 kB / 0.569 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.3359, allocations: 34.62 kB / 0.569 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.224e-05/0.336, allocations: 12.14 kB / 0.569 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.628e-05/0.336, allocations: 18.45 kB / 0.569 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.3362, allocations: 65.69 kB / 0.5691 GB, free: 31.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3362, allocations: 0 / 0.5691 GB, free: 31.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3362, allocations: 0.5938 kB / 0.5691 GB, free: 31.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.3362, allocations: 0 / 0.5691 GB, free: 31.42 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000413/0.3366, allocations: 367.4 kB / 0.5695 GB, free: 31.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3367, allocations: 9.812 kB / 0.5695 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.058e-05/0.3367, allocations: 33.97 kB / 0.5695 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.3378, allocations: 210.8 kB / 0.5697 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.046e-05/0.3379, allocations: 170.2 kB / 0.5699 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.3379, allocations: 2.438 kB / 0.5699 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.338, allocations: 6.5 kB / 0.5699 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005599/0.3385, allocations: 192.8 kB / 0.5701 GB, free: 30.74 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.3385, allocations: 4.438 kB / 0.5701 GB, free: 30.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.3386, allocations: 5.969 kB / 0.5701 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3386, allocations: 0 / 0.5701 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000845/0.3394, allocations: 284.9 kB / 0.5703 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008319/0.3403, allocations: 439.7 kB / 0.5708 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.3414, allocations: 289.5 kB / 0.571 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003605/0.3417, allocations: 105.9 kB / 0.5711 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.3418, allocations: 5.656 kB / 0.5711 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.32e-05/0.3418, allocations: 31.84 kB / 0.5712 GB, free: 30.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3418, allocations: 1.188 kB / 0.5712 GB, free: 30.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.001147/0.3429, allocations: 308.8 kB / 0.5715 GB, free: 30.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.124e-05/0.343, allocations: 55.34 kB / 0.5715 GB, free: 30.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.477e-05/0.3431, allocations: 120.5 kB / 0.5716 GB, free: 30 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.3431, allocations: 25.7 kB / 0.5717 GB, free: 29.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.156e-05/0.3431, allocations: 92.53 kB / 0.5717 GB, free: 29.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.3431, allocations: 11.45 kB / 0.5718 GB, free: 29.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-05/0.3432, allocations: 16.44 kB / 0.5718 GB, free: 29.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.135e-05/0.3432, allocations: 322.6 kB / 0.5721 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003515/0.3436, allocations: 93.69 kB / 0.5722 GB, free: 29.53 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003392/0.344, allocations: 94.72 kB / 0.5723 GB, free: 29.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006673/0.3446, allocations: 175.5 kB / 0.5724 GB, free: 29.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3446, allocations: 1.938 kB / 0.5724 GB, free: 29.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007193/0.3454, allocations: 216.2 kB / 0.5726 GB, free: 29.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3454, allocations: 6.438 kB / 0.5726 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.3454, allocations: 0 / 0.5726 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.3454, allocations: 2.75 kB / 0.5726 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.3457, allocations: 32.88 kB / 0.5727 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.3457, allocations: 1.25 kB / 0.5727 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.3459, allocations: 35.64 kB / 0.5727 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.3459, allocations: 2.562 kB / 0.5727 GB, free: 29.41 MB / 446.1 MB 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.49e-05/0.346, allocations: 124.5 kB / 0.5728 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.346, allocations: 1.406 kB / 0.5728 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.72e-05/0.346, allocations: 12.03 kB / 0.5728 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3461, allocations: 0 / 0.5728 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3461, allocations: 2.078 kB / 0.5728 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3461, allocations: 0 / 0.5728 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.3463, allocations: 212.2 kB / 0.573 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3463, allocations: 1.672 kB / 0.5731 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/0.3465, allocations: 33.66 kB / 0.5731 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.3465, allocations: 1.625 kB / 0.5731 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.3466, allocations: 5.109 kB / 0.5731 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.3466, allocations: 2.406 kB / 0.5731 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3466, allocations: 0.5156 kB / 0.5731 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007527/0.3473, allocations: 319.5 kB / 0.5734 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.712e-05/0.3474, allocations: 79.77 kB / 0.5735 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.3474, allocations: 0.75 kB / 0.5735 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.3476, allocations: 28.02 kB / 0.5735 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.3477, allocations: 7.344 kB / 0.5735 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.3477, allocations: 2.484 kB / 0.5735 GB, free: 28.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.363e-05/0.3477, allocations: 94.69 kB / 0.5736 GB, free: 28.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3477, allocations: 0 / 0.5736 GB, free: 28.72 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002334/0.348, allocations: 16.19 kB / 0.5736 GB, free: 28.71 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 (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.0009657/0.3489, allocations: 0.8405 MB / 0.5744 GB, free: 28.03 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008086/0.3498, allocations: 201.3 kB / 0.5746 GB, free: 28 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3498, allocations: 3.938 kB / 0.5746 GB, free: 27.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003821/0.3502, allocations: 97.8 kB / 0.5747 GB, free: 27.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.3504, allocations: 10.47 kB / 0.5747 GB, free: 27.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00353/0.354, allocations: 1.838 MB / 0.5765 GB, free: 26.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001745/0.3542, allocations: 0.6926 MB / 0.5772 GB, free: 26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.098e-05/0.3543, allocations: 19.78 kB / 0.5772 GB, free: 26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.595e-05/0.3543, allocations: 16.77 kB / 0.5772 GB, free: 25.98 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3544, allocations: 0 / 0.5772 GB, free: 25.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7606/1.115, allocations: 1.92 MB / 0.5791 GB, free: 25.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/14.27, allocations: 8.203 kB / 0.5791 GB, free: 25.18 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1)