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.00111/0.00111, allocations: 101.8 kB / 15.98 MB, free: 6.344 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.001237/0.001237, allocations: 191.7 kB / 16.9 MB, free: 6.188 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.376/1.376, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7565/0.7565, allocations: 115.3 MB / 406.1 MB, free: 6.48 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001883, allocations: 63.89 kB / 493.2 MB, free: 0.6406 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.4126, allocations: 76.17 MB / 0.556 GB, free: 35.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothExponential): time 0.002715/0.4154, allocations: 1.497 MB / 0.5575 GB, free: 34.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003837/0.4158, allocations: 186.8 kB / 0.5577 GB, free: 34.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.321e-05/0.4158, allocations: 0.625 kB / 0.5577 GB, free: 34.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.649e-05/0.4159, allocations: 10.36 kB / 0.5577 GB, free: 34.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.532e-05/0.4159, allocations: 2.5 kB / 0.5577 GB, free: 34.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.4162, allocations: 37.61 kB / 0.5577 GB, free: 34.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.737e-05/0.4163, allocations: 20.73 kB / 0.5577 GB, free: 34.47 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.481e-05/0.4164, allocations: 5.469 kB / 0.5577 GB, free: 34.47 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.368e-05/0.4164, allocations: 9.625 kB / 0.5577 GB, free: 34.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.168e-05/0.4165, allocations: 10.28 kB / 0.5578 GB, free: 34.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.4165, allocations: 3.906 kB / 0.5578 GB, free: 34.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.271e-05/0.4166, allocations: 35.61 kB / 0.5578 GB, free: 34.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.4166, allocations: 11.95 kB / 0.5578 GB, free: 34.44 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.009e-05/0.4166, allocations: 10.22 kB / 0.5578 GB, free: 34.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.4167, allocations: 35.66 kB / 0.5578 GB, free: 34.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.4167, allocations: 2.781 kB / 0.5578 GB, free: 34.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4168, allocations: 0 / 0.5578 GB, free: 34.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.4168, allocations: 0 / 0.5578 GB, free: 34.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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004083/0.4172, allocations: 347.4 kB / 0.5582 GB, free: 34.06 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.4172, allocations: 8.844 kB / 0.5582 GB, free: 34.06 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.008e-05/0.4173, allocations: 33.81 kB / 0.5582 GB, free: 34.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.572e-05/0.4173, allocations: 2.219 kB / 0.5582 GB, free: 34.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.056e-05/0.4174, allocations: 171.2 kB / 0.5584 GB, free: 33.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.4174, allocations: 2.438 kB / 0.5584 GB, free: 33.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.4174, allocations: 1.594 kB / 0.5584 GB, free: 33.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.4176, allocations: 51.73 kB / 0.5584 GB, free: 33.78 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.4176, allocations: 7.875 kB / 0.5584 GB, free: 33.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.4177, allocations: 5.906 kB / 0.5585 GB, free: 33.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.4177, allocations: 0 / 0.5585 GB, free: 33.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.4179, allocations: 38.16 kB / 0.5585 GB, free: 33.76 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002838/0.4181, allocations: 250.2 kB / 0.5587 GB, free: 33.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.4183, allocations: 41.05 kB / 0.5588 GB, free: 33.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.415e-05/0.4184, allocations: 26.33 kB / 0.5588 GB, free: 33.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.967e-05/0.4185, allocations: 83.39 kB / 0.5589 GB, free: 33.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.4185, allocations: 35.16 kB / 0.5589 GB, free: 33.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 3.657e-06/0.4185, allocations: 1.266 kB / 0.5589 GB, free: 33.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.000344/0.4188, allocations: 85.58 kB / 0.559 GB, free: 33.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.4189, allocations: 52.47 kB / 0.559 GB, free: 33.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.201e-05/0.4189, allocations: 109 kB / 0.5591 GB, free: 33.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.419, allocations: 26.42 kB / 0.5592 GB, free: 33.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.984e-05/0.419, allocations: 83.33 kB / 0.5592 GB, free: 32.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.419, allocations: 5.188 kB / 0.5593 GB, free: 32.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.4191, allocations: 16.34 kB / 0.5593 GB, free: 32.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.355e-05/0.4191, allocations: 313.3 kB / 0.5596 GB, free: 32.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.626e-05/0.4192, allocations: 18.14 kB / 0.5596 GB, free: 32.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.746e-05/0.4193, allocations: 15.5 kB / 0.5596 GB, free: 32.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.4194, allocations: 43.91 kB / 0.5596 GB, free: 32.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.4194, allocations: 3.938 kB / 0.5596 GB, free: 32.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001792/0.4196, allocations: 70.42 kB / 0.5597 GB, free: 32.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.4196, allocations: 7.156 kB / 0.5597 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.4196, allocations: 0 / 0.5597 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.4197, allocations: 4.5 kB / 0.5597 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.522e-05/0.4197, allocations: 9.016 kB / 0.5597 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.4198, allocations: 0 / 0.5597 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.385e-05/0.4198, allocations: 5.188 kB / 0.5597 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.4198, allocations: 0 / 0.5597 GB, free: 32.59 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 5.304e-05/0.4199, allocations: 113.5 kB / 0.5598 GB, free: 32.47 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.4199, allocations: 5.094 kB / 0.5598 GB, free: 32.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.4201, allocations: 78.23 kB / 0.5599 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.4202, allocations: 2.594 kB / 0.5599 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.4202, allocations: 4 kB / 0.5599 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4202, allocations: 0.9844 kB / 0.5599 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.4203, allocations: 159.8 kB / 0.5601 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4203, allocations: 3.641 kB / 0.5601 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.459e-05/0.4204, allocations: 7.609 kB / 0.5601 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.4204, allocations: 2.688 kB / 0.5601 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.4204, allocations: 0 / 0.5601 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.4204, allocations: 2.375 kB / 0.5601 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4204, allocations: 9.141 kB / 0.5601 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.4206, allocations: 169.2 kB / 0.5603 GB, free: 32.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.649e-05/0.4206, allocations: 78.36 kB / 0.5603 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.4207, allocations: 5.047 kB / 0.5603 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.894e-05/0.4207, allocations: 5.703 kB / 0.5604 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.4208, allocations: 5.422 kB / 0.5604 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.4208, allocations: 0.8125 kB / 0.5604 GB, free: 31.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.5e-05/0.4208, allocations: 82.69 kB / 0.5604 GB, free: 31.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4208, allocations: 1.094 kB / 0.5604 GB, free: 31.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002296/0.4211, allocations: 9.344 kB / 0.5604 GB, free: 31.9 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.0004449/0.4215, allocations: 0.7044 MB / 0.5611 GB, free: 31.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002311/0.4218, allocations: 38.64 kB / 0.5612 GB, free: 31.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4218, allocations: 3 kB / 0.5612 GB, free: 31.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.037e-05/0.4219, allocations: 20.41 kB / 0.5612 GB, free: 31.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.4222, allocations: 5.547 kB / 0.5612 GB, free: 31.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004447/0.4226, allocations: 142.2 kB / 0.5613 GB, free: 31.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.4228, allocations: 0.6776 MB / 0.562 GB, free: 30.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.314e-05/0.4228, allocations: 2.469 kB / 0.562 GB, free: 30.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.4228, allocations: 9.469 kB / 0.562 GB, free: 30.36 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4228, allocations: 0 / 0.562 GB, free: 30.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08789/0.5107, allocations: 1.285 MB / 0.5633 GB, free: 30.15 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/0.511, allocations: 200.7 kB / 0.5635 GB, free: 29.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/2.219, allocations: 0 / 0.5635 GB, free: 29.9 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)