Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8138/0.8138, allocations: 133.6 MB / 141.6 MB, free: 2.828 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.652/1.652, allocations: 221.5 MB / 395.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008904/0.0008905, allocations: 101.9 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.246e-05/2.245e-05, allocations: 4 kB / 0.5535 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4605/0.4605, allocations: 82.31 MB / 0.6339 GB, free: 40.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.153/0.6136, allocations: 110.8 MB / 0.7421 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/0.6139, allocations: 71.91 kB / 0.7422 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003352/0.6172, allocations: 1.151 MB / 0.7433 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6172, allocations: 4 kB / 0.7433 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.6173, allocations: 0 / 0.7433 GB, free: 10.71 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004074/0.6177, allocations: 358.4 kB / 0.7436 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.6177, allocations: 8.031 kB / 0.7436 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008552/0.6186, allocations: 187.7 kB / 0.7438 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.6188, allocations: 170.9 kB / 0.744 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.6188, allocations: 7.922 kB / 0.744 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.6188, allocations: 8 kB / 0.744 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002203/0.619, allocations: 115.9 kB / 0.7441 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.6192, allocations: 109.5 kB / 0.7442 GB, free: 9.676 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.6193, allocations: 0 / 0.7442 GB, free: 9.676 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.6193, allocations: 0 / 0.7442 GB, free: 9.676 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.6193, allocations: 0 / 0.7442 GB, free: 9.676 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009671/0.6203, allocations: 422 kB / 0.7446 GB, free: 9.223 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000395/0.6207, allocations: 162.4 kB / 0.7448 GB, free: 9.055 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.181e-05/0.6208, allocations: 52.98 kB / 0.7448 GB, free: 9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.6208, allocations: 0 / 0.7448 GB, free: 9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.6208, allocations: 30.56 kB / 0.7449 GB, free: 8.961 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.6208, allocations: 0 / 0.7449 GB, free: 8.961 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0002736/0.6211, allocations: 113.5 kB / 0.745 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.6212, allocations: 59.34 kB / 0.745 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.67e-05/0.6213, allocations: 105 kB / 0.7451 GB, free: 8.664 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.6213, allocations: 25.7 kB / 0.7451 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.839e-05/0.6214, allocations: 84.14 kB / 0.7452 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.6214, allocations: 11.81 kB / 0.7452 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.207e-06/0.6214, allocations: 0 / 0.7452 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.6215, allocations: 318.8 kB / 0.7455 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.428e-05/0.6216, allocations: 39.97 kB / 0.7456 GB, free: 8.176 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.6218, allocations: 51.91 kB / 0.7456 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.673e-05/0.6218, allocations: 27.98 kB / 0.7457 GB, free: 8.098 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6218, allocations: 0 / 0.7457 GB, free: 8.098 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002079/0.622, allocations: 109.6 kB / 0.7458 GB, free: 7.984 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.6221, allocations: 4 kB / 0.7458 GB, free: 7.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.6221, allocations: 0 / 0.7458 GB, free: 7.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.6221, allocations: 0 / 0.7458 GB, free: 7.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003419/0.6225, allocations: 43.95 kB / 0.7458 GB, free: 7.938 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.6225, allocations: 0 / 0.7458 GB, free: 7.938 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.6227, allocations: 43.84 kB / 0.7458 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.6227, allocations: 3.984 kB / 0.7459 GB, free: 7.891 MB / 0.5261 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.339e-05/0.6228, allocations: 109 kB / 0.746 GB, free: 7.777 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000188/0.623, allocations: 113.5 kB / 0.7461 GB, free: 7.66 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.623, allocations: 0 / 0.7461 GB, free: 7.66 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.214e-05/0.6231, allocations: 8.344 kB / 0.7461 GB, free: 7.652 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.6231, allocations: 3.953 kB / 0.7461 GB, free: 7.648 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6231, allocations: 0 / 0.7461 GB, free: 7.648 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.6231, allocations: 0 / 0.7461 GB, free: 7.648 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.6233, allocations: 194.2 kB / 0.7463 GB, free: 7.422 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.6233, allocations: 0 / 0.7463 GB, free: 7.422 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.6236, allocations: 52.11 kB / 0.7463 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.6236, allocations: 0 / 0.7463 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.6236, allocations: 0 / 0.7463 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.6236, allocations: 0 / 0.7463 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.6236, allocations: 3.953 kB / 0.7463 GB, free: 7.367 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.624, allocations: 215.3 kB / 0.7465 GB, free: 7.141 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.471e-05/0.624, allocations: 81.09 kB / 0.7466 GB, free: 7.043 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.6241, allocations: 3.938 kB / 0.7466 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000334/0.6244, allocations: 35.95 kB / 0.7466 GB, free: 7.004 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.6245, allocations: 0 / 0.7466 GB, free: 7.004 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.6245, allocations: 7.953 kB / 0.7466 GB, free: 6.996 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.684e-05/0.6246, allocations: 91.27 kB / 0.7467 GB, free: 6.906 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2e-07/0.6246, allocations: 0 / 0.7467 GB, free: 6.906 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003639/0.6249, allocations: 12 kB / 0.7467 GB, free: 6.895 MB / 0.5261 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.000657/0.6256, allocations: 0.728 MB / 0.7475 GB, free: 6.137 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002525/0.6259, allocations: 87.92 kB / 0.7475 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.6259, allocations: 11.94 kB / 0.7475 GB, free: 6.039 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.626, allocations: 43.97 kB / 0.7476 GB, free: 5.996 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.6263, allocations: 4 kB / 0.7476 GB, free: 5.992 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.6273, allocations: 209.4 kB / 0.7478 GB, free: 5.75 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/0.6278, allocations: 0.6924 MB / 0.7485 GB, free: 5.031 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001246/0.6279, allocations: 23.94 kB / 0.7485 GB, free: 5.008 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.095e-05/0.628, allocations: 19.42 kB / 0.7485 GB, free: 4.988 MB / 0.5261 GB Notification: Performance of SimCode: time 3.5e-07/0.6281, allocations: 0 / 0.7485 GB, free: 4.988 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02551/0.6536, allocations: 1.209 MB / 0.7497 GB, free: 3.789 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002725/0.6539, allocations: 116.7 kB / 0.7498 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.477/2.131, allocations: 0 / 0.7498 GB, free: 3.598 MB / 0.5261 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothMin.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1)