Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit",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.0009274/0.0009274, allocations: 110 kB / 15.99 MB, free: 6.352 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.00111/0.00111, allocations: 191.1 kB / 16.91 MB, free: 6.195 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.391/1.391, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7664/0.7664, allocations: 115.3 MB / 406.1 MB, free: 6.41 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001565, allocations: 63.91 kB / 493.2 MB, free: 0.6289 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4074, allocations: 76.17 MB / 0.556 GB, free: 36.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002203/0.4097, allocations: 1.505 MB / 0.5575 GB, free: 35.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006957/0.4104, allocations: 0.5617 MB / 0.558 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.889e-05/0.4104, allocations: 1.406 kB / 0.558 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.522e-05/0.4105, allocations: 2.812 kB / 0.558 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.005e-05/0.4105, allocations: 6.188 kB / 0.558 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.4107, allocations: 41.34 kB / 0.5581 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.23e-05/0.4108, allocations: 25.84 kB / 0.5581 GB, free: 34.9 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.638e-05/0.4109, allocations: 6.125 kB / 0.5581 GB, free: 34.9 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.192e-05/0.4109, allocations: 17.06 kB / 0.5581 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.209e-05/0.411, allocations: 18.69 kB / 0.5582 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.411, allocations: 2.781 kB / 0.5582 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.564e-05/0.4111, allocations: 54.84 kB / 0.5582 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.094e-05/0.4111, allocations: 2.062 kB / 0.5582 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.063e-05/0.4111, allocations: 11.28 kB / 0.5582 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.4113, allocations: 68.23 kB / 0.5583 GB, free: 34.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.4113, allocations: 0 / 0.5583 GB, free: 34.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.4113, allocations: 0 / 0.5583 GB, free: 34.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.4113, allocations: 3.188 kB / 0.5583 GB, free: 34.83 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.0002823/0.4116, allocations: 354.9 kB / 0.5586 GB, free: 34.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.4116, allocations: 10.16 kB / 0.5586 GB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.586e-05/0.4117, allocations: 31.5 kB / 0.5587 GB, free: 34.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.053e-05/0.4117, allocations: 10.12 kB / 0.5587 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.588e-05/0.4118, allocations: 168.5 kB / 0.5588 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.4118, allocations: 1.719 kB / 0.5588 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.763e-06/0.4118, allocations: 1.781 kB / 0.5588 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.4119, allocations: 54.05 kB / 0.5589 GB, free: 34.17 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.4119, allocations: 0 / 0.5589 GB, free: 34.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.593e-06/0.4119, allocations: 0 / 0.5589 GB, free: 34.17 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.4119, allocations: 1.281 kB / 0.5589 GB, free: 34.17 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.143e-05/0.412, allocations: 20.86 kB / 0.5589 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002303/0.4123, allocations: 265.7 kB / 0.5592 GB, free: 33.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.164e-05/0.4123, allocations: 31.67 kB / 0.5592 GB, free: 33.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.289e-05/0.4124, allocations: 16.45 kB / 0.5592 GB, free: 33.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006913/0.4131, allocations: 473.7 kB / 0.5597 GB, free: 33.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.422e-05/0.4131, allocations: 32.88 kB / 0.5597 GB, free: 33.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.4131, allocations: 0 / 0.5597 GB, free: 33.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.000205/0.4133, allocations: 69.38 kB / 0.5598 GB, free: 33.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.714e-05/0.4134, allocations: 54.45 kB / 0.5598 GB, free: 33.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.338e-05/0.4134, allocations: 107.4 kB / 0.5599 GB, free: 33.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.4134, allocations: 29.7 kB / 0.5599 GB, free: 33.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.218e-05/0.4135, allocations: 81.33 kB / 0.56 GB, free: 33.01 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.17e-05/0.4135, allocations: 5.344 kB / 0.56 GB, free: 33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.4135, allocations: 18.94 kB / 0.56 GB, free: 32.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.929e-05/0.4136, allocations: 319.4 kB / 0.5604 GB, free: 32.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.951e-05/0.4136, allocations: 10.97 kB / 0.5604 GB, free: 32.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.227e-05/0.4136, allocations: 12.84 kB / 0.5604 GB, free: 32.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.654e-05/0.4137, allocations: 26.38 kB / 0.5604 GB, free: 32.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4137, allocations: 0 / 0.5604 GB, free: 32.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.929e-05/0.4138, allocations: 60.52 kB / 0.5605 GB, free: 32.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.4138, allocations: 5.875 kB / 0.5605 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-06/0.4138, allocations: 0 / 0.5605 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.4139, allocations: 3.203 kB / 0.5605 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.571e-05/0.4139, allocations: 5.531 kB / 0.5605 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.4139, allocations: 2.344 kB / 0.5605 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.004e-05/0.414, allocations: 6.547 kB / 0.5605 GB, free: 32.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-06/0.414, allocations: 1.094 kB / 0.5605 GB, free: 32.6 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 4.108e-05/0.414, allocations: 115.6 kB / 0.5606 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/0.4141, allocations: 6.844 kB / 0.5606 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.4142, allocations: 65.58 kB / 0.5607 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.4142, allocations: 0.5938 kB / 0.5607 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.4142, allocations: 1.75 kB / 0.5607 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.4142, allocations: 1.219 kB / 0.5607 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.4143, allocations: 161.2 kB / 0.5608 GB, free: 32.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4143, allocations: 2.062 kB / 0.5608 GB, free: 32.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.98e-05/0.4144, allocations: 6.172 kB / 0.5608 GB, free: 32.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4144, allocations: 0.7969 kB / 0.5608 GB, free: 32.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-06/0.4144, allocations: 5.406 kB / 0.5608 GB, free: 32.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4144, allocations: 3.938 kB / 0.5608 GB, free: 32.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.4144, allocations: 2.078 kB / 0.5608 GB, free: 32.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.4145, allocations: 153.4 kB / 0.561 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.751e-05/0.4146, allocations: 86.92 kB / 0.5611 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.4146, allocations: 0.75 kB / 0.5611 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.738e-05/0.4146, allocations: 4.656 kB / 0.5611 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.255e-05/0.4147, allocations: 2.422 kB / 0.5611 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.4147, allocations: 2.719 kB / 0.5611 GB, free: 31.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.72e-05/0.4147, allocations: 87.39 kB / 0.5612 GB, free: 31.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4147, allocations: 1.031 kB / 0.5612 GB, free: 31.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002277/0.4149, allocations: 13.2 kB / 0.5612 GB, free: 31.91 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.0003057/0.4153, allocations: 0.7044 MB / 0.5619 GB, free: 31.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000108/0.4154, allocations: 30.78 kB / 0.5619 GB, free: 31.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.4154, allocations: 0 / 0.5619 GB, free: 31.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.019e-05/0.4154, allocations: 11.84 kB / 0.5619 GB, free: 31.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.4156, allocations: 4.328 kB / 0.5619 GB, free: 31.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003179/0.4159, allocations: 168.8 kB / 0.5621 GB, free: 31.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.808e-05/0.416, allocations: 0.6781 MB / 0.5627 GB, free: 30.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.224e-05/0.4161, allocations: 2.984 kB / 0.5627 GB, free: 30.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.4161, allocations: 13.59 kB / 0.5627 GB, free: 30.35 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4161, allocations: 0 / 0.5627 GB, free: 30.35 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07776/0.4939, allocations: 1.482 MB / 0.5642 GB, free: 30.14 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001465/0.4941, allocations: 189.7 kB / 0.5644 GB, free: 29.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.673/2.167, allocations: 3.438 kB / 0.5644 GB, free: 29.89 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)