Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IBPSA_latest_IBPSA_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.001241/0.001241, allocations: 183.1 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5737/0.5737, allocations: 91.98 MB / 108.5 MB, free: 13.06 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.718/1.718, allocations: 223.2 MB / 354.3 MB, free: 12.12 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001002, allocations: 99.14 kB / 427.4 MB, free: 3.859 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003606, allocations: 8 kB / 0.4983 GB, free: 42.17 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1629, allocations: 72.31 MB / 0.5689 GB, free: 1.797 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5443/0.7073, allocations: 101.7 MB / 0.6683 GB, free: 2.652 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/0.7076, allocations: 75.95 kB / 0.6683 GB, free: 2.578 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003734/0.7113, allocations: 1.162 MB / 0.6695 GB, free: 1.43 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.7114, allocations: 0 / 0.6695 GB, free: 1.43 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.7114, allocations: 0 / 0.6695 GB, free: 1.43 MB / 458.7 MB 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.0004795/0.7119, allocations: 359.9 kB / 0.6698 GB, free: 1.031 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.7119, allocations: 8.031 kB / 0.6698 GB, free: 1.023 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.593e-05/0.712, allocations: 42.55 kB / 0.6699 GB, free: 0.9727 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008507/0.7129, allocations: 187.6 kB / 0.67 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.713, allocations: 175.7 kB / 0.6702 GB, free: 0.5781 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.713, allocations: 8 kB / 0.6702 GB, free: 0.5703 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.7131, allocations: 0 / 0.6702 GB, free: 0.5703 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005827/0.7137, allocations: 210.3 kB / 0.6704 GB, free: 368 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.7137, allocations: 0 / 0.6704 GB, free: 368 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.412e-05/0.7137, allocations: 4 kB / 0.6704 GB, free: 364 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.7138, allocations: 2.078 kB / 0.6704 GB, free: 364 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008559/0.7146, allocations: 327.5 kB / 0.6707 GB, free: 36 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.7156, allocations: 453 kB / 0.6712 GB, free: 15.54 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.7167, allocations: 334.2 kB / 0.6715 GB, free: 15.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.7168, allocations: 4 kB / 0.6715 GB, free: 15.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.7168, allocations: 42.53 kB / 0.6715 GB, free: 15.15 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.794e-06/0.7168, allocations: 0 / 0.6715 GB, free: 15.15 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.001261/0.7181, allocations: 369.3 kB / 0.6719 GB, free: 14.78 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/0.7182, allocations: 51.41 kB / 0.6719 GB, free: 14.72 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.7183, allocations: 113.2 kB / 0.672 GB, free: 14.6 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.7183, allocations: 25.7 kB / 0.6721 GB, free: 14.57 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.772e-05/0.7184, allocations: 88.2 kB / 0.6721 GB, free: 14.48 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.7184, allocations: 19.75 kB / 0.6722 GB, free: 14.46 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.016e-05/0.7185, allocations: 0 / 0.6722 GB, free: 14.46 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.7186, allocations: 318.8 kB / 0.6725 GB, free: 14.14 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003673/0.719, allocations: 115.9 kB / 0.6726 GB, free: 14.02 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003358/0.7193, allocations: 115.8 kB / 0.6727 GB, free: 13.91 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.7197, allocations: 103.9 kB / 0.6728 GB, free: 13.81 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.7197, allocations: 0 / 0.6728 GB, free: 13.81 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007335/0.7204, allocations: 257.4 kB / 0.673 GB, free: 13.55 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.7205, allocations: 4 kB / 0.673 GB, free: 13.55 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.7205, allocations: 0 / 0.673 GB, free: 13.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.7205, allocations: 5.953 kB / 0.673 GB, free: 13.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.7208, allocations: 39.94 kB / 0.6731 GB, free: 13.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.7208, allocations: 7.984 kB / 0.6731 GB, free: 13.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.721, allocations: 35.95 kB / 0.6731 GB, free: 13.46 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.721, allocations: 0 / 0.6731 GB, free: 13.46 MB / 474.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 () * Number of clocked 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 0.0001241/0.7211, allocations: 117.8 kB / 0.6732 GB, free: 13.34 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.7212, allocations: 15.84 kB / 0.6732 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.165e-05/0.7212, allocations: 15.91 kB / 0.6733 GB, free: 13.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.7213, allocations: 0 / 0.6733 GB, free: 13.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.7213, allocations: 0 / 0.6733 GB, free: 13.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.7213, allocations: 3.938 kB / 0.6733 GB, free: 13.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.7216, allocations: 201.6 kB / 0.6735 GB, free: 13.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.7216, allocations: 0 / 0.6735 GB, free: 13.05 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002736/0.7218, allocations: 51.94 kB / 0.6735 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.7219, allocations: 7.891 kB / 0.6735 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.7219, allocations: 384 / 0.6735 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.7219, allocations: 0 / 0.6735 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.7219, allocations: 0 / 0.6735 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007959/0.7227, allocations: 351.2 kB / 0.6738 GB, free: 12.64 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.837e-05/0.7228, allocations: 85.03 kB / 0.6739 GB, free: 12.54 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.7228, allocations: 3.953 kB / 0.6739 GB, free: 12.53 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.723, allocations: 39.95 kB / 0.674 GB, free: 12.49 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.7231, allocations: 0 / 0.674 GB, free: 12.49 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.7231, allocations: 4 kB / 0.674 GB, free: 12.49 MB / 474.7 MB Notification: Performance of sorting global known variables: time 7.099e-05/0.7232, allocations: 99.2 kB / 0.6741 GB, free: 12.39 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.404e-06/0.7232, allocations: 0 / 0.6741 GB, free: 12.39 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002261/0.7234, allocations: 15.94 kB / 0.6741 GB, free: 12.38 MB / 474.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 () * Number of clocked 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.001106/0.7245, allocations: 0.8723 MB / 0.6749 GB, free: 11.48 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007415/0.7253, allocations: 235.7 kB / 0.6752 GB, free: 11.25 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.7253, allocations: 0 / 0.6752 GB, free: 11.25 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003479/0.7256, allocations: 123.8 kB / 0.6753 GB, free: 11.12 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.7259, allocations: 7.953 kB / 0.6753 GB, free: 11.12 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002457/0.7283, allocations: 0.9045 MB / 0.6762 GB, free: 10.16 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.7286, allocations: 0.6965 MB / 0.6769 GB, free: 9.441 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 9.01e-05/0.7287, allocations: 15.98 kB / 0.6769 GB, free: 9.426 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.501e-05/0.7288, allocations: 19.44 kB / 0.6769 GB, free: 9.406 MB / 474.7 MB Notification: Performance of SimCode: time 8.82e-07/0.7288, allocations: 0 / 0.6769 GB, free: 9.406 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01381/0.7426, allocations: 1.617 MB / 0.6785 GB, free: 7.902 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002279/0.7429, allocations: 164.5 kB / 0.6786 GB, free: 7.664 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/2.375, allocations: 0 / 0.6786 GB, free: 7.664 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1)