Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildSysPro_BuildSysPro_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.0009236/0.0009235, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009344/0.0009345, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 223.2 MB / 240 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.016/1.016, allocations: 143.4 MB / 434.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005871/0.0005872, allocations: 16 kB / 0.5161 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2159, allocations: 83.42 MB / 0.5975 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.00148/0.2174, allocations: 1.167 MB / 0.5987 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007604/0.2182, allocations: 0.5235 MB / 0.5992 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.894e-05/0.2182, allocations: 0 / 0.5992 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.664e-05/0.2182, allocations: 0 / 0.5992 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.356e-05/0.2183, allocations: 7.922 kB / 0.5992 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.2185, allocations: 35.91 kB / 0.5992 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.241e-05/0.2186, allocations: 23.92 kB / 0.5993 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.91e-05/0.2187, allocations: 4 kB / 0.5993 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.253e-05/0.2187, allocations: 19.92 kB / 0.5993 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.47e-05/0.2188, allocations: 15.91 kB / 0.5993 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.2188, allocations: 3.938 kB / 0.5993 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.866e-05/0.2189, allocations: 51.91 kB / 0.5993 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.073e-05/0.2189, allocations: 3.984 kB / 0.5993 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.336e-05/0.219, allocations: 37.64 kB / 0.5994 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.304e-05/0.2191, allocations: 39.94 kB / 0.5994 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2191, allocations: 0 / 0.5994 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2191, allocations: 0 / 0.5994 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.2191, allocations: 0 / 0.5994 GB, free: 5.738 MB / 0.4981 GB 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.0003896/0.2195, allocations: 351.5 kB / 0.5998 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.2195, allocations: 8.031 kB / 0.5998 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.787e-05/0.2196, allocations: 30.56 kB / 0.5998 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.286e-05/0.2196, allocations: 7.906 kB / 0.5998 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.2197, allocations: 167 kB / 0.6 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.2197, allocations: 0 / 0.6 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.2197, allocations: 4 kB / 0.6 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.2199, allocations: 49.67 kB / 0.6 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2199, allocations: 0 / 0.6 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.2199, allocations: 0 / 0.6 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.2199, allocations: 0 / 0.6 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.131e-05/0.22, allocations: 27.92 kB / 0.6 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003193/0.2203, allocations: 256.9 kB / 0.6003 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.798e-05/0.2204, allocations: 34.58 kB / 0.6003 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.662e-05/0.2205, allocations: 16.91 kB / 0.6003 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007159/0.2212, allocations: 0.4897 MB / 0.6008 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.2212, allocations: 38.5 kB / 0.6008 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.2212, allocations: 0 / 0.6008 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002326/0.2215, allocations: 73.58 kB / 0.6009 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.2215, allocations: 51.41 kB / 0.601 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.987e-05/0.2216, allocations: 121.8 kB / 0.6011 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.2216, allocations: 29.77 kB / 0.6011 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.079e-05/0.2217, allocations: 88.14 kB / 0.6012 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.2217, allocations: 3.906 kB / 0.6012 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.2217, allocations: 0 / 0.6012 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.2218, allocations: 314.8 kB / 0.6015 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.627e-05/0.2219, allocations: 15.98 kB / 0.6015 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.474e-05/0.2219, allocations: 12 kB / 0.6015 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.555e-05/0.222, allocations: 23.98 kB / 0.6015 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.222, allocations: 0 / 0.6015 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001133/0.2221, allocations: 53.69 kB / 0.6016 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.2221, allocations: 4 kB / 0.6016 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2221, allocations: 0 / 0.6016 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.2221, allocations: 0 / 0.6016 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.482e-05/0.2222, allocations: 15.92 kB / 0.6016 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.329e-06/0.2222, allocations: 4.031 kB / 0.6016 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.992e-05/0.2223, allocations: 3.953 kB / 0.6016 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.2223, allocations: 4 kB / 0.6016 GB, free: 3.156 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.885e-05/0.2224, allocations: 109.8 kB / 0.6017 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.2224, allocations: 4 kB / 0.6017 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/0.2226, allocations: 73.05 kB / 0.6018 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.2226, allocations: 0 / 0.6018 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.2226, allocations: 0 / 0.6018 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.2226, allocations: 0 / 0.6018 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.2227, allocations: 165.6 kB / 0.602 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2228, allocations: 4 kB / 0.602 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-05/0.2228, allocations: 7.984 kB / 0.602 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.2228, allocations: 0 / 0.602 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.2228, allocations: 0 / 0.602 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.2228, allocations: 4 kB / 0.602 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2228, allocations: 0 / 0.602 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.223, allocations: 163.5 kB / 0.6021 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-05/0.2231, allocations: 81.09 kB / 0.6022 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.2231, allocations: 0 / 0.6022 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.664e-05/0.2231, allocations: 4 kB / 0.6022 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.995e-05/0.2232, allocations: 4.016 kB / 0.6022 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.2232, allocations: 4 kB / 0.6022 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.314e-05/0.2232, allocations: 95.2 kB / 0.6023 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.2232, allocations: 0 / 0.6023 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002243/0.2235, allocations: 16 kB / 0.6023 GB, free: 2.332 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004932/0.224, allocations: 0.7085 MB / 0.603 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001177/0.2241, allocations: 27.92 kB / 0.6031 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2241, allocations: 0 / 0.6031 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.245e-05/0.2241, allocations: 12 kB / 0.6031 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.2244, allocations: 8.156 kB / 0.6031 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004063/0.2248, allocations: 162.3 kB / 0.6032 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.225, allocations: 0.6809 MB / 0.6039 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.203e-05/0.225, allocations: 0 / 0.6039 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.2251, allocations: 15.42 kB / 0.6039 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.2251, allocations: 0 / 0.6039 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3043/0.5294, allocations: 1.421 MB / 0.6053 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001413/0.5295, allocations: 182.6 kB / 0.6055 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/2.19, allocations: 1.422 kB / 0.6055 GB, free: 40.02 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) Environment - environmentSimulation: