Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothExponential",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.001102/0.001102, allocations: 103.4 kB / 16.27 MB, free: 6.004 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.001286/0.001286, allocations: 186.1 kB / 17.2 MB, free: 5.617 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.332/1.332, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7361/0.7361, allocations: 122.8 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 63.91 kB / 0.4912 GB, free: 7.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3543, allocations: 77.92 MB / 0.5673 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothExponential): time 0.002599/0.3569, allocations: 1.425 MB / 0.5687 GB, free: 31.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004855/0.3574, allocations: 190.2 kB / 0.5689 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.189e-05/0.3575, allocations: 1.281 kB / 0.5689 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.285e-05/0.3575, allocations: 1.375 kB / 0.5689 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.608e-05/0.3576, allocations: 12.42 kB / 0.5689 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.3579, allocations: 38.64 kB / 0.5689 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.114e-05/0.358, allocations: 19.88 kB / 0.5689 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.616e-05/0.3581, allocations: 13.53 kB / 0.5689 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.804e-05/0.3581, allocations: 5.25 kB / 0.5689 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.648e-05/0.3582, allocations: 20 kB / 0.569 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.3582, allocations: 1.344 kB / 0.569 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.168e-05/0.3583, allocations: 34.62 kB / 0.569 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.3583, allocations: 6.391 kB / 0.569 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.107e-05/0.3583, allocations: 7.453 kB / 0.569 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.3584, allocations: 43.48 kB / 0.5691 GB, free: 31.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.3584, allocations: 0 / 0.5691 GB, free: 31.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3584, allocations: 2.281 kB / 0.5691 GB, free: 31.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3585, allocations: 0 / 0.5691 GB, free: 31.48 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003808/0.3588, allocations: 347 kB / 0.5694 GB, free: 31.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.3589, allocations: 11.09 kB / 0.5694 GB, free: 31.12 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.899e-05/0.3589, allocations: 31.5 kB / 0.5694 GB, free: 31.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.635e-05/0.359, allocations: 2.031 kB / 0.5694 GB, free: 31.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.059e-05/0.359, allocations: 180.6 kB / 0.5696 GB, free: 30.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.3591, allocations: 2.531 kB / 0.5696 GB, free: 30.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.3591, allocations: 1.438 kB / 0.5696 GB, free: 30.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.3593, allocations: 50.41 kB / 0.5697 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.3593, allocations: 3.938 kB / 0.5697 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.3593, allocations: 1.156 kB / 0.5697 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3593, allocations: 0 / 0.5697 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.3595, allocations: 34.23 kB / 0.5697 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002948/0.3598, allocations: 250.9 kB / 0.5699 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.3599, allocations: 45.06 kB / 0.57 GB, free: 30.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.167e-05/0.36, allocations: 20.48 kB / 0.57 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.713e-05/0.3601, allocations: 82.3 kB / 0.5701 GB, free: 30.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.3601, allocations: 40.94 kB / 0.5701 GB, free: 30.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.3601, allocations: 3.938 kB / 0.5701 GB, free: 30.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003747/0.3605, allocations: 81.8 kB / 0.5702 GB, free: 30.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.3606, allocations: 53.84 kB / 0.5702 GB, free: 30.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.203e-05/0.3606, allocations: 101.8 kB / 0.5703 GB, free: 30.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.3607, allocations: 27.06 kB / 0.5704 GB, free: 30.13 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.616e-05/0.3607, allocations: 86.64 kB / 0.5704 GB, free: 30.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.3607, allocations: 5.641 kB / 0.5705 GB, free: 30.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.3608, allocations: 14.12 kB / 0.5705 GB, free: 30.03 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.09e-05/0.3608, allocations: 318.3 kB / 0.5708 GB, free: 29.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.859e-05/0.3609, allocations: 13.19 kB / 0.5708 GB, free: 29.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.809e-05/0.361, allocations: 21.67 kB / 0.5708 GB, free: 29.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.3612, allocations: 38.14 kB / 0.5708 GB, free: 29.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3612, allocations: 5.281 kB / 0.5708 GB, free: 29.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001964/0.3614, allocations: 73.23 kB / 0.5709 GB, free: 29.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3614, allocations: 5.406 kB / 0.5709 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3614, allocations: 0 / 0.5709 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3614, allocations: 0.75 kB / 0.5709 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.476e-05/0.3615, allocations: 10.05 kB / 0.5709 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3615, allocations: 0 / 0.5709 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.873e-05/0.3616, allocations: 7.766 kB / 0.5709 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.3616, allocations: 1.469 kB / 0.5709 GB, free: 29.65 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 (2): * Single equations (assignments): 2 * 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.096e-05/0.3617, allocations: 116.4 kB / 0.571 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.3617, allocations: 2.25 kB / 0.5711 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.3619, allocations: 73.8 kB / 0.5711 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3619, allocations: 0 / 0.5711 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.362, allocations: 2.328 kB / 0.5711 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.362, allocations: 4.656 kB / 0.5711 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.3621, allocations: 160.7 kB / 0.5713 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3621, allocations: 1.844 kB / 0.5713 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.861e-05/0.3622, allocations: 9.891 kB / 0.5713 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.3622, allocations: 4 kB / 0.5713 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.3622, allocations: 0.75 kB / 0.5713 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3622, allocations: 3.094 kB / 0.5713 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3622, allocations: 0 / 0.5713 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.3625, allocations: 169.9 kB / 0.5715 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.396e-05/0.3625, allocations: 81.67 kB / 0.5715 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.3625, allocations: 1.125 kB / 0.5715 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.534e-05/0.3626, allocations: 7.062 kB / 0.5715 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.3626, allocations: 6.922 kB / 0.5716 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.3626, allocations: 1.688 kB / 0.5716 GB, free: 29.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.374e-05/0.3627, allocations: 87.23 kB / 0.5716 GB, free: 28.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3627, allocations: 0 / 0.5716 GB, free: 28.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002268/0.3629, allocations: 13.66 kB / 0.5717 GB, free: 28.96 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 (2): * Single equations (assignments): 2 * 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.0004888/0.3634, allocations: 0.709 MB / 0.5723 GB, free: 28.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002523/0.3637, allocations: 36.86 kB / 0.5724 GB, free: 28.28 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3637, allocations: 0 / 0.5724 GB, free: 28.28 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.116e-05/0.3638, allocations: 25.61 kB / 0.5724 GB, free: 28.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.364, allocations: 4.062 kB / 0.5724 GB, free: 28.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003871/0.3644, allocations: 140.1 kB / 0.5725 GB, free: 28.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.3646, allocations: 0.6759 MB / 0.5732 GB, free: 27.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.399e-05/0.3646, allocations: 2.344 kB / 0.5732 GB, free: 27.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.685e-05/0.3646, allocations: 15.16 kB / 0.5732 GB, free: 27.42 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3646, allocations: 0 / 0.5732 GB, free: 27.42 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01751/0.3822, allocations: 1.398 MB / 0.5746 GB, free: 27.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.156/8.539, allocations: 11.53 kB / 0.5746 GB, free: 27.09 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothExponential.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)