Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothMin,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothMin,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8441/0.8441, allocations: 141.8 MB / 149.3 MB, free: 9.258 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 180.9 kB / 182.2 MB, free: 9.461 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.787/1.787, allocations: 221.5 MB / 436.4 MB, free: 13.27 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.00106/0.00106, allocations: 95.98 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001999/0.002, allocations: 276.3 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.488e-05/2.49e-05, allocations: 8 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5534/0.5534, allocations: 82.76 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1541/0.7076, allocations: 108.1 MB / 0.863 GB, free: 3.656 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.7079, allocations: 67.97 kB / 0.8631 GB, free: 3.59 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003765/0.7117, allocations: 1.159 MB / 0.8642 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.674e-06/0.7118, allocations: 0 / 0.8642 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.7118, allocations: 0 / 0.8642 GB, free: 2.43 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.0004479/0.7122, allocations: 354.4 kB / 0.8646 GB, free: 2.039 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.7123, allocations: 8.031 kB / 0.8646 GB, free: 2.031 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000859/0.7132, allocations: 191.6 kB / 0.8648 GB, free: 1.844 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.7133, allocations: 170.8 kB / 0.8649 GB, free: 1.641 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.7134, allocations: 7.953 kB / 0.8649 GB, free: 1.633 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.7134, allocations: 0 / 0.8649 GB, free: 1.633 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002369/0.7136, allocations: 115.9 kB / 0.865 GB, free: 1.52 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.7138, allocations: 105.6 kB / 0.8651 GB, free: 1.41 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.7139, allocations: 0 / 0.8651 GB, free: 1.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.7139, allocations: 0 / 0.8651 GB, free: 1.41 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.7139, allocations: 7.938 kB / 0.8651 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009503/0.7148, allocations: 425.7 kB / 0.8656 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004297/0.7153, allocations: 166.5 kB / 0.8657 GB, free: 0.7773 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.245e-05/0.7154, allocations: 48.92 kB / 0.8658 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.7154, allocations: 0 / 0.8658 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.7155, allocations: 38.5 kB / 0.8658 GB, free: 0.6797 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.402e-06/0.7155, allocations: 4 kB / 0.8658 GB, free: 0.6758 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0002765/0.7158, allocations: 105.5 kB / 0.8659 GB, free: 0.5664 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.7158, allocations: 51.41 kB / 0.8659 GB, free: 0.5039 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.299e-05/0.7159, allocations: 101 kB / 0.866 GB, free: 408 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.7159, allocations: 25.7 kB / 0.8661 GB, free: 376 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.887e-05/0.716, allocations: 84.14 kB / 0.8661 GB, free: 288 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.716, allocations: 11.91 kB / 0.8662 GB, free: 276 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-06/0.716, allocations: 0 / 0.8662 GB, free: 276 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.7162, allocations: 322.8 kB / 0.8665 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.781e-05/0.7163, allocations: 47.91 kB / 0.8665 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.871e-05/0.7163, allocations: 39.97 kB / 0.8666 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.739e-05/0.7164, allocations: 31.98 kB / 0.8666 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.7164, allocations: 3.938 kB / 0.8666 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001703/0.7166, allocations: 113.5 kB / 0.8667 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.7166, allocations: 5.562 kB / 0.8667 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.7166, allocations: 4 kB / 0.8667 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.7166, allocations: 0 / 0.8667 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002582/0.7169, allocations: 39.95 kB / 0.8667 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.7169, allocations: 0 / 0.8667 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.7171, allocations: 39.89 kB / 0.8668 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.7171, allocations: 3.984 kB / 0.8668 GB, free: 15.62 MB / 0.5417 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 7.833e-05/0.7172, allocations: 112.9 kB / 0.8669 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001704/0.7174, allocations: 105.6 kB / 0.867 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.7174, allocations: 7.906 kB / 0.867 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.7e-05/0.7175, allocations: 8.281 kB / 0.867 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.7175, allocations: 0 / 0.867 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.7175, allocations: 4 kB / 0.867 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.7175, allocations: 7.953 kB / 0.867 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.7177, allocations: 182.2 kB / 0.8672 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.7177, allocations: 4 kB / 0.8672 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002295/0.718, allocations: 43.94 kB / 0.8672 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.718, allocations: 0 / 0.8672 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.718, allocations: 0 / 0.8672 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.718, allocations: 0 / 0.8672 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.718, allocations: 0 / 0.8672 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.7182, allocations: 207.5 kB / 0.8674 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.46e-05/0.7183, allocations: 85 kB / 0.8675 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.7183, allocations: 4.281 kB / 0.8675 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.7185, allocations: 31.95 kB / 0.8676 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.7186, allocations: 8 kB / 0.8676 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.7186, allocations: 0 / 0.8676 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.886e-05/0.7187, allocations: 87.27 kB / 0.8676 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.749e-06/0.7187, allocations: 0 / 0.8676 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002116/0.7189, allocations: 19.88 kB / 0.8677 GB, free: 14.62 MB / 0.5417 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.0004826/0.7194, allocations: 0.7359 MB / 0.8684 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00018/0.7196, allocations: 95.92 kB / 0.8685 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.7196, allocations: 0 / 0.8685 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.942e-05/0.7197, allocations: 47.91 kB / 0.8685 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/0.7198, allocations: 0 / 0.8685 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007442/0.7206, allocations: 213.4 kB / 0.8687 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.7209, allocations: 0.6924 MB / 0.8694 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.251e-05/0.721, allocations: 23.92 kB / 0.8694 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.335e-05/0.721, allocations: 15.42 kB / 0.8694 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.7211, allocations: 0 / 0.8694 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01926/0.7403, allocations: 1.207 MB / 0.8706 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/0.7406, allocations: 147.2 kB / 0.8708 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/2.379, allocations: 0 / 0.8708 GB, free: 11.33 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe 2>&1)