Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.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.VectorFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions",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.8357/0.8357, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 178.9 kB / 187.3 MB, free: 11.89 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.678/1.678, allocations: 221.3 MB / 441.4 MB, free: 4.605 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.001061/0.001061, allocations: 101.5 kB / 0.5124 GB, free: 24.14 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002476/0.002476, allocations: 285 kB / 0.5939 GB, free: 7.949 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.12e-05/5.131e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5482/0.5482, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1448/0.6931, allocations: 109.3 MB / 0.8711 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/0.6935, allocations: 80.73 kB / 0.8712 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.006141/0.6997, allocations: 1.744 MB / 0.8729 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.565e-06/0.6998, allocations: 0 / 0.8729 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.788e-05/0.6998, allocations: 4 kB / 0.8729 GB, free: 13.38 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005792/0.7004, allocations: 390.2 kB / 0.8733 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.353e-05/0.7005, allocations: 8.031 kB / 0.8733 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.064e-05/0.7005, allocations: 50.48 kB / 0.8733 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/0.7006, allocations: 11.81 kB / 0.8733 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.7008, allocations: 192.5 kB / 0.8735 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.7008, allocations: 8 kB / 0.8735 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.7009, allocations: 4 kB / 0.8735 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.7011, allocations: 91.67 kB / 0.8736 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.7011, allocations: 0 / 0.8736 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.7011, allocations: 4 kB / 0.8736 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.7012, allocations: 4 kB / 0.8736 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.7013, allocations: 74.02 kB / 0.8737 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006268/0.7019, allocations: 392.4 kB / 0.8741 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.7021, allocations: 42.56 kB / 0.8741 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.204e-05/0.7021, allocations: 36.97 kB / 0.8742 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.633e-05/0.7022, allocations: 4 kB / 0.8742 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.7022, allocations: 30.56 kB / 0.8742 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.7022, allocations: 0 / 0.8742 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.000261/0.7025, allocations: 101.5 kB / 0.8743 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.7025, allocations: 59.34 kB / 0.8743 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.7026, allocations: 118 kB / 0.8745 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.7027, allocations: 25.7 kB / 0.8745 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.768e-05/0.7027, allocations: 108.3 kB / 0.8746 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.7028, allocations: 19.72 kB / 0.8746 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.7028, allocations: 0 / 0.8746 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.7029, allocations: 322.8 kB / 0.8749 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.743e-05/0.703, allocations: 20 kB / 0.8749 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.892e-05/0.703, allocations: 27.98 kB / 0.875 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.434e-05/0.7031, allocations: 27.98 kB / 0.875 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.7031, allocations: 0 / 0.875 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001529/0.7033, allocations: 97.52 kB / 0.8751 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.7033, allocations: 9.719 kB / 0.8751 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.7033, allocations: 0 / 0.8751 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.7033, allocations: 3.984 kB / 0.8751 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.7035, allocations: 27.88 kB / 0.8751 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.7035, allocations: 0 / 0.8751 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.242e-05/0.7036, allocations: 19.92 kB / 0.8751 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.7036, allocations: 4 kB / 0.8751 GB, free: 10.88 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 (6): * Single equations (assignments): 6 * 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.394e-05/0.7037, allocations: 109 kB / 0.8752 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.7037, allocations: 7.906 kB / 0.8753 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.704, allocations: 114.5 kB / 0.8754 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.704, allocations: 0 / 0.8754 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.704, allocations: 7.891 kB / 0.8754 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.704, allocations: 7.938 kB / 0.8754 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.7043, allocations: 205.6 kB / 0.8756 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.7043, allocations: 0 / 0.8756 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.7044, allocations: 23.98 kB / 0.8756 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.7044, allocations: 0 / 0.8756 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.7044, allocations: 7.984 kB / 0.8756 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.7044, allocations: 0 / 0.8756 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7044, allocations: 0 / 0.8756 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.7047, allocations: 195.4 kB / 0.8758 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/0.7047, allocations: 85 kB / 0.8759 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.7047, allocations: 0 / 0.8759 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.984e-05/0.7048, allocations: 12 kB / 0.8759 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.968e-05/0.7049, allocations: 11.92 kB / 0.8759 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.7049, allocations: 4 kB / 0.8759 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.629e-05/0.705, allocations: 104.7 kB / 0.876 GB, free: 9.906 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.21e-07/0.705, allocations: 4 kB / 0.876 GB, free: 9.902 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002223/0.7052, allocations: 23.8 kB / 0.876 GB, free: 9.879 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 (6): * Single equations (assignments): 6 * 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.0005418/0.7058, allocations: 0.7358 MB / 0.8767 GB, free: 9.117 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002468/0.7061, allocations: 75.91 kB / 0.8768 GB, free: 9.043 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.7061, allocations: 0 / 0.8768 GB, free: 9.043 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.876e-05/0.7062, allocations: 39.98 kB / 0.8769 GB, free: 9.004 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.7063, allocations: 11.94 kB / 0.8769 GB, free: 8.992 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005047/0.7068, allocations: 175.5 kB / 0.877 GB, free: 8.785 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.7071, allocations: 0.7082 MB / 0.8777 GB, free: 8.051 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.931e-05/0.7072, allocations: 11.98 kB / 0.8777 GB, free: 8.039 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.038e-05/0.7073, allocations: 23.42 kB / 0.8778 GB, free: 8.016 MB / 0.5417 GB Notification: Performance of SimCode: time 2.715e-06/0.7073, allocations: 4 kB / 0.8778 GB, free: 8.012 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01363/0.721, allocations: 1.702 MB / 0.8794 GB, free: 6.449 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/0.7212, allocations: 159.3 kB / 0.8796 GB, free: 6.23 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/2.44, allocations: 4 kB / 0.8796 GB, free: 6.227 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)