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.8117/0.8117, allocations: 143.3 MB / 158.3 MB, free: 5.766 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.00115/0.00115, allocations: 173.1 kB / 191.5 MB, free: 5.746 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.673/1.673, allocations: 223.2 MB / 447.7 MB, free: 4.805 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.001031/0.001031, allocations: 88.33 kB / 0.5187 GB, free: 1.156 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002045/0.002045, allocations: 267.3 kB / 0.6005 GB, free: 48.71 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004465/0.0004466, allocations: 13.53 kB / 0.6929 GB, free: 59.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1874, allocations: 82.8 MB / 0.7738 GB, free: 13.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1528/0.3402, allocations: 109.4 MB / 0.8806 GB, free: 176 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/0.3406, allocations: 75.95 kB / 0.8807 GB, free: 100 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3778/0.7183, allocations: 1.748 MB / 0.8824 GB, free: 109.5 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7184, allocations: 0 / 0.8824 GB, free: 109.5 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.7184, allocations: 2.516 kB / 0.8824 GB, free: 109.5 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.0004117/0.7188, allocations: 405.2 kB / 0.8828 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.7189, allocations: 7.75 kB / 0.8828 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.292e-05/0.7189, allocations: 41 kB / 0.8828 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.719, allocations: 9.125 kB / 0.8828 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.7192, allocations: 204.6 kB / 0.883 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.7192, allocations: 5.812 kB / 0.883 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.7192, allocations: 8.688 kB / 0.883 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.7194, allocations: 114.2 kB / 0.8832 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.7195, allocations: 2.5 kB / 0.8832 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.7195, allocations: 0 / 0.8832 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.7195, allocations: 4.609 kB / 0.8832 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002274/0.7197, allocations: 101.5 kB / 0.8833 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005341/0.7203, allocations: 383.2 kB / 0.8836 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.7204, allocations: 67.28 kB / 0.8837 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.009e-05/0.7205, allocations: 3.875 kB / 0.8837 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.7205, allocations: 37.41 kB / 0.8837 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.7205, allocations: 0 / 0.8837 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.0004468/0.721, allocations: 180.6 kB / 0.8839 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.721, allocations: 59.34 kB / 0.884 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.842e-05/0.7211, allocations: 123.9 kB / 0.8841 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.7211, allocations: 25.7 kB / 0.8841 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.884e-05/0.7212, allocations: 102.3 kB / 0.8842 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.7212, allocations: 22.28 kB / 0.8842 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-06/0.7212, allocations: 6.031 kB / 0.8842 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.83e-05/0.7213, allocations: 323.3 kB / 0.8845 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.7214, allocations: 45.59 kB / 0.8846 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.247e-05/0.7215, allocations: 43.81 kB / 0.8846 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.7216, allocations: 48.58 kB / 0.8847 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.7216, allocations: 4 kB / 0.8847 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002434/0.7218, allocations: 128.8 kB / 0.8848 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.7219, allocations: 6.016 kB / 0.8848 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.7219, allocations: 2.594 kB / 0.8848 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.7219, allocations: 4 kB / 0.8848 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.722, allocations: 19.73 kB / 0.8848 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.7221, allocations: 3.953 kB / 0.8848 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.25e-05/0.7221, allocations: 16.97 kB / 0.8848 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.7222, allocations: 2.5 kB / 0.8848 GB, free: 107.7 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 () * Number of clocked 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 7.511e-05/0.7222, allocations: 122.6 kB / 0.885 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.7223, allocations: 11.75 kB / 0.885 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003332/0.7226, allocations: 151.1 kB / 0.8851 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.7226, allocations: 4.172 kB / 0.8851 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.7226, allocations: 0.75 kB / 0.8851 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.7227, allocations: 7.953 kB / 0.8851 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.7228, allocations: 211.1 kB / 0.8853 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.7228, allocations: 0 / 0.8853 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.7229, allocations: 18.53 kB / 0.8853 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.7229, allocations: 3.25 kB / 0.8854 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.723, allocations: 11.45 kB / 0.8854 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.723, allocations: 0 / 0.8854 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.723, allocations: 0 / 0.8854 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/0.7233, allocations: 235 kB / 0.8856 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.562e-05/0.7233, allocations: 83.92 kB / 0.8857 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.7233, allocations: 0 / 0.8857 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.7234, allocations: 16.05 kB / 0.8857 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/0.7235, allocations: 13.92 kB / 0.8857 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.7235, allocations: 2.969 kB / 0.8857 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.638e-05/0.7236, allocations: 104.6 kB / 0.8858 GB, free: 107 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7236, allocations: 0 / 0.8858 GB, free: 107 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002223/0.7238, allocations: 13.03 kB / 0.8858 GB, free: 107 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 () * Number of clocked 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.0005206/0.7243, allocations: 0.7809 MB / 0.8866 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002871/0.7246, allocations: 114.7 kB / 0.8867 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7246, allocations: 0 / 0.8867 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.7248, allocations: 64.3 kB / 0.8867 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.7249, allocations: 9.844 kB / 0.8868 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.726, allocations: 0.7202 MB / 0.8875 GB, free: 106 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/0.7262, allocations: 0.7103 MB / 0.8881 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.874e-05/0.7262, allocations: 16.25 kB / 0.8882 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.077e-05/0.7263, allocations: 25.25 kB / 0.8882 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of SimCode: time 3.977e-06/0.7263, allocations: 0 / 0.8882 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01633/0.7426, allocations: 1.688 MB / 0.8898 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001555/0.7428, allocations: 187.9 kB / 0.89 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/2.289, allocations: 3.938 kB / 0.89 GB, free: 104.8 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)