Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7566/0.7566, allocations: 127.3 MB / 139.8 MB, free: 15.46 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00126/0.00126, allocations: 188.7 kB / 169.7 MB, free: 1.738 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.044/2.044, allocations: 205.1 MB / 404.5 MB, free: 1.621 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009055/0.0009055, allocations: 80.95 kB / 481.8 MB, free: 4.273 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.452e-05/4.468e-05, allocations: 4 kB / 0.5533 GB, free: 54.77 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1753, allocations: 76.76 MB / 0.6282 GB, free: 9.945 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6024/0.7777, allocations: 102.6 MB / 0.7284 GB, free: 10.85 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/0.778, allocations: 72.08 kB / 0.7285 GB, free: 10.81 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004037/0.7821, allocations: 1.399 MB / 0.7299 GB, free: 9.594 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.7821, allocations: 4 kB / 0.7299 GB, free: 9.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.7821, allocations: 0 / 0.7299 GB, free: 9.59 MB / 490.7 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.0004212/0.7826, allocations: 346.4 kB / 0.7302 GB, free: 9.207 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.953e-05/0.7826, allocations: 8.031 kB / 0.7302 GB, free: 9.199 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.178e-05/0.7827, allocations: 34.06 kB / 0.7302 GB, free: 9.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.7827, allocations: 7.953 kB / 0.7302 GB, free: 9.152 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.7829, allocations: 175.7 kB / 0.7304 GB, free: 8.941 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.7829, allocations: 0 / 0.7304 GB, free: 8.941 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.7829, allocations: 0 / 0.7304 GB, free: 8.941 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.7831, allocations: 36.95 kB / 0.7304 GB, free: 8.902 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.7831, allocations: 3.625 kB / 0.7304 GB, free: 8.902 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.7831, allocations: 0 / 0.7304 GB, free: 8.902 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.7831, allocations: 0 / 0.7304 GB, free: 8.902 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.721e-05/0.7832, allocations: 23.62 kB / 0.7305 GB, free: 8.883 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000454/0.7836, allocations: 266.8 kB / 0.7307 GB, free: 8.582 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.372e-05/0.7837, allocations: 28.73 kB / 0.7307 GB, free: 8.551 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.868e-05/0.7837, allocations: 16.28 kB / 0.7308 GB, free: 8.535 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.535e-05/0.7838, allocations: 77.11 kB / 0.7308 GB, free: 8.441 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.7839, allocations: 34.56 kB / 0.7309 GB, free: 8.398 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.7839, allocations: 0 / 0.7309 GB, free: 8.398 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001611/0.784, allocations: 52.03 kB / 0.7309 GB, free: 8.348 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.7841, allocations: 51.41 kB / 0.731 GB, free: 8.285 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.47e-05/0.7842, allocations: 95.8 kB / 0.7311 GB, free: 8.188 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.7842, allocations: 29.7 kB / 0.7311 GB, free: 8.152 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.834e-05/0.7843, allocations: 80.14 kB / 0.7312 GB, free: 8.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.7843, allocations: 7.656 kB / 0.7312 GB, free: 8.066 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.7843, allocations: 4.031 kB / 0.7312 GB, free: 8.062 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.7844, allocations: 310.8 kB / 0.7315 GB, free: 7.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.607e-05/0.7844, allocations: 7.188 kB / 0.7315 GB, free: 7.746 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.329e-05/0.7845, allocations: 4 kB / 0.7315 GB, free: 7.742 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.309e-05/0.7845, allocations: 11.8 kB / 0.7315 GB, free: 7.734 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.7845, allocations: 0 / 0.7315 GB, free: 7.734 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.701e-05/0.7846, allocations: 49.45 kB / 0.7315 GB, free: 7.684 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.7846, allocations: 6.812 kB / 0.7315 GB, free: 7.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.7846, allocations: 4.094 kB / 0.7315 GB, free: 7.676 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.7846, allocations: 0 / 0.7315 GB, free: 7.676 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.079e-05/0.7847, allocations: 11.98 kB / 0.7316 GB, free: 7.664 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.7847, allocations: 3.953 kB / 0.7316 GB, free: 7.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.135e-05/0.7848, allocations: 11.98 kB / 0.7316 GB, free: 7.648 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.7848, allocations: 0 / 0.7316 GB, free: 7.648 MB / 490.7 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 () * 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 8.123e-05/0.7849, allocations: 105 kB / 0.7317 GB, free: 7.539 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.7849, allocations: 7.906 kB / 0.7317 GB, free: 7.531 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.7851, allocations: 47.62 kB / 0.7317 GB, free: 7.488 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.7851, allocations: 4 kB / 0.7317 GB, free: 7.484 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.7851, allocations: 3.938 kB / 0.7317 GB, free: 7.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.7851, allocations: 3.953 kB / 0.7317 GB, free: 7.477 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.7853, allocations: 153.5 kB / 0.7319 GB, free: 7.281 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.7853, allocations: 3.984 kB / 0.7319 GB, free: 7.277 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.054e-05/0.7854, allocations: 11.94 kB / 0.7319 GB, free: 7.266 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.7854, allocations: 4.031 kB / 0.7319 GB, free: 7.262 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.7854, allocations: 0 / 0.7319 GB, free: 7.262 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.7854, allocations: 4.875 kB / 0.7319 GB, free: 7.258 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.7854, allocations: 3.984 kB / 0.7319 GB, free: 7.254 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.7855, allocations: 142.6 kB / 0.7321 GB, free: 7.105 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.976e-05/0.7856, allocations: 77.11 kB / 0.7321 GB, free: 7.012 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.7856, allocations: 0 / 0.7321 GB, free: 7.012 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.612e-05/0.7857, allocations: 16.02 kB / 0.7321 GB, free: 6.996 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.7857, allocations: 0 / 0.7321 GB, free: 6.996 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.7857, allocations: 256 / 0.7321 GB, free: 6.996 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.531e-05/0.7858, allocations: 91.14 kB / 0.7322 GB, free: 6.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.808e-06/0.7858, allocations: 0 / 0.7322 GB, free: 6.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000282/0.7861, allocations: 23.88 kB / 0.7322 GB, free: 6.887 MB / 490.7 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 () * 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.0005417/0.7866, allocations: 0.6925 MB / 0.7329 GB, free: 6.176 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.465e-05/0.7867, allocations: 11 kB / 0.7329 GB, free: 6.168 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7867, allocations: 0 / 0.7329 GB, free: 6.168 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.78e-05/0.7868, allocations: 15.06 kB / 0.733 GB, free: 6.156 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.787, allocations: 0 / 0.733 GB, free: 6.156 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.7873, allocations: 102.8 kB / 0.733 GB, free: 6.023 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.7877, allocations: 0.685 MB / 0.7337 GB, free: 5.312 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.888e-05/0.7877, allocations: 0 / 0.7337 GB, free: 5.312 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.988e-05/0.7878, allocations: 10.62 kB / 0.7337 GB, free: 5.305 MB / 490.7 MB Notification: Performance of SimCode: time 3e-07/0.7878, allocations: 0 / 0.7337 GB, free: 5.305 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01241/0.8002, allocations: 1.156 MB / 0.7349 GB, free: 4.27 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002638/0.8005, allocations: 169.5 kB / 0.735 GB, free: 4.039 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.528/2.329, allocations: 0 / 0.735 GB, free: 4.039 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothExponential.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)