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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007033/0.007033, allocations: 99.34 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001803/0.001803, allocations: 198.5 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002478/0.002479, allocations: 286.6 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.006/1.006, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002725/0.002725, allocations: 95.91 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1989, allocations: 86.98 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.002896/0.2018, allocations: 1.595 MB / 0.7675 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009246/0.2028, allocations: 0.4963 MB / 0.768 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.057e-05/0.2028, allocations: 0 / 0.768 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.2029, allocations: 15.86 kB / 0.768 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.343e-05/0.203, allocations: 15.8 kB / 0.768 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.2032, allocations: 35.91 kB / 0.768 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.2033, allocations: 79.77 kB / 0.7681 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.2035, allocations: 48.47 kB / 0.7681 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.271e-05/0.2036, allocations: 35.84 kB / 0.7682 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.778e-05/0.2037, allocations: 47.77 kB / 0.7682 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.2037, allocations: 8 kB / 0.7682 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.544e-05/0.2038, allocations: 12 kB / 0.7682 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.848e-05/0.2039, allocations: 23.92 kB / 0.7683 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.462e-05/0.2039, allocations: 35.73 kB / 0.7683 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.2041, allocations: 87.58 kB / 0.7684 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.2041, allocations: 4 kB / 0.7684 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2041, allocations: 0 / 0.7684 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.2042, allocations: 4 kB / 0.7684 GB, free: 6.379 MB / 0.5606 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.0006074/0.2048, allocations: 414.9 kB / 0.7688 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.2048, allocations: 8.031 kB / 0.7688 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.354e-05/0.2049, allocations: 38.73 kB / 0.7688 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.662e-05/0.2049, allocations: 12.89 kB / 0.7688 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.2051, allocations: 196.1 kB / 0.769 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.2052, allocations: 4.375 kB / 0.769 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.2052, allocations: 4.375 kB / 0.769 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002855/0.2055, allocations: 113.8 kB / 0.7691 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2055, allocations: 4 kB / 0.7692 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.2055, allocations: 0 / 0.7692 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2055, allocations: 0 / 0.7692 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002461/0.2058, allocations: 101.5 kB / 0.7692 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006701/0.2065, allocations: 380.5 kB / 0.7696 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.2066, allocations: 62.48 kB / 0.7697 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.2068, allocations: 48.95 kB / 0.7697 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.141e-05/0.2068, allocations: 4 kB / 0.7697 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.2069, allocations: 34.56 kB / 0.7698 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.2069, allocations: 0 / 0.7698 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0005057/0.2074, allocations: 169.5 kB / 0.7699 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.2074, allocations: 55.34 kB / 0.77 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.2076, allocations: 140.1 kB / 0.7701 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.2076, allocations: 33.64 kB / 0.7701 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.785e-05/0.2077, allocations: 112.1 kB / 0.7702 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.2077, allocations: 15.89 kB / 0.7703 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.983e-05/0.2078, allocations: 29.7 kB / 0.7703 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.208, allocations: 318.8 kB / 0.7706 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.2081, allocations: 39.97 kB / 0.7706 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.2082, allocations: 35.97 kB / 0.7707 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.2084, allocations: 84.81 kB / 0.7707 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2084, allocations: 8 kB / 0.7708 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002839/0.2087, allocations: 125.6 kB / 0.7709 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.2088, allocations: 7.938 kB / 0.7709 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2088, allocations: 0 / 0.7709 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.2088, allocations: 3.938 kB / 0.7709 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.2089, allocations: 19.92 kB / 0.7709 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.2089, allocations: 3.984 kB / 0.7709 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.35e-05/0.209, allocations: 23.88 kB / 0.7709 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.2091, allocations: 4 kB / 0.7709 GB, free: 3.547 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001084/0.2092, allocations: 122.5 kB / 0.771 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/0.2092, allocations: 7.953 kB / 0.7711 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003698/0.2096, allocations: 138.3 kB / 0.7712 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.2096, allocations: 7.938 kB / 0.7712 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.2096, allocations: 4.438 kB / 0.7712 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2096, allocations: 4 kB / 0.7712 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.2099, allocations: 201.6 kB / 0.7714 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2099, allocations: 4 kB / 0.7714 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.822e-05/0.21, allocations: 15.98 kB / 0.7714 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.21, allocations: 0 / 0.7714 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.21, allocations: 4 kB / 0.7714 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.21, allocations: 3.938 kB / 0.7714 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.21, allocations: 3.984 kB / 0.7714 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003329/0.2103, allocations: 219.5 kB / 0.7716 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.539e-05/0.2104, allocations: 93.03 kB / 0.7717 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.2104, allocations: 0 / 0.7717 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.559e-05/0.2105, allocations: 11.88 kB / 0.7717 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.2106, allocations: 15.92 kB / 0.7718 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.2106, allocations: 4 kB / 0.7718 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.337e-05/0.2107, allocations: 105.3 kB / 0.7719 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2107, allocations: 4 kB / 0.7719 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002284/0.2109, allocations: 19.89 kB / 0.7719 GB, free: 2.48 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007342/0.2117, allocations: 0.7554 MB / 0.7726 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002917/0.212, allocations: 103.9 kB / 0.7727 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.212, allocations: 0 / 0.7727 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.2122, allocations: 55.95 kB / 0.7728 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.2124, allocations: 7.938 kB / 0.7728 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3077/0.5201, allocations: 1.591 MB / 0.7743 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.5203, allocations: 0.6996 MB / 0.775 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001559/0.5204, allocations: 13.64 kB / 0.775 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.657e-05/0.5205, allocations: 29.59 kB / 0.7751 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.5205, allocations: 0 / 0.7751 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/0.5427, allocations: 2.016 MB / 0.777 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.935/8.477, allocations: 5.875 kB / 0.777 GB, free: 13.16 MB / 0.5606 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)