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.0077/0.0077, allocations: 98.23 kB / 15.73 MB, free: 6.004 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.001693/0.001693, allocations: 193.3 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.471/1.471, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002087/0.002087, allocations: 275 kB / 290.8 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9521/0.9521, allocations: 169.3 MB / 0.4983 GB, free: 13.76 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 95.86 kB / 0.681 GB, free: 15.94 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1909, allocations: 86.97 MB / 0.7659 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.002727/0.1936, allocations: 1.596 MB / 0.7675 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008577/0.1945, allocations: 0.4923 MB / 0.768 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.69e-05/0.1946, allocations: 7.938 kB / 0.768 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.1947, allocations: 7.875 kB / 0.768 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.887e-05/0.1948, allocations: 19.8 kB / 0.768 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.195, allocations: 43.89 kB / 0.768 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.1951, allocations: 79.77 kB / 0.7681 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.1953, allocations: 40.48 kB / 0.7681 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.794e-05/0.1954, allocations: 47.77 kB / 0.7682 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.041e-05/0.1955, allocations: 39.84 kB / 0.7682 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.1955, allocations: 4 kB / 0.7682 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.099e-05/0.1956, allocations: 12 kB / 0.7682 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.18e-05/0.1956, allocations: 19.92 kB / 0.7683 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.303e-05/0.1957, allocations: 51.72 kB / 0.7683 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.1959, allocations: 91.52 kB / 0.7684 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.1959, allocations: 0 / 0.7684 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1959, allocations: 0 / 0.7684 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.1959, allocations: 0 / 0.7684 GB, free: 6.32 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.0005319/0.1964, allocations: 410.9 kB / 0.7688 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.1965, allocations: 12.03 kB / 0.7688 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.651e-05/0.1965, allocations: 34.75 kB / 0.7688 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.1966, allocations: 16.88 kB / 0.7689 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.1967, allocations: 192.2 kB / 0.769 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.1967, allocations: 4.375 kB / 0.769 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.1968, allocations: 8.375 kB / 0.7691 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.197, allocations: 110.4 kB / 0.7692 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1971, allocations: 0 / 0.7692 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.1971, allocations: 4 kB / 0.7692 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1971, allocations: 4 kB / 0.7692 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002346/0.1973, allocations: 99.92 kB / 0.7693 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005587/0.1979, allocations: 376.6 kB / 0.7696 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.198, allocations: 58.55 kB / 0.7697 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.1982, allocations: 48.95 kB / 0.7697 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.1982, allocations: 4 kB / 0.7697 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.1982, allocations: 38.56 kB / 0.7698 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.1983, allocations: 0 / 0.7698 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0004613/0.1987, allocations: 165.7 kB / 0.7699 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.1988, allocations: 55.34 kB / 0.77 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.1989, allocations: 143.5 kB / 0.7701 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.1989, allocations: 29.7 kB / 0.7701 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.312e-05/0.199, allocations: 108.1 kB / 0.7702 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.199, allocations: 19.91 kB / 0.7703 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.199, allocations: 21.7 kB / 0.7703 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1992, allocations: 322.8 kB / 0.7706 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.1993, allocations: 40.03 kB / 0.7706 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.1994, allocations: 43.97 kB / 0.7707 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.1996, allocations: 88.75 kB / 0.7708 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1996, allocations: 0 / 0.7708 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002775/0.1999, allocations: 125.6 kB / 0.7709 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.1999, allocations: 7.938 kB / 0.7709 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2, allocations: 7.938 kB / 0.7709 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.2, allocations: 7.938 kB / 0.7709 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.2001, allocations: 15.98 kB / 0.7709 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.2001, allocations: 0 / 0.7709 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.523e-05/0.2002, allocations: 15.88 kB / 0.7709 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.2002, allocations: 4 kB / 0.7709 GB, free: 3.5 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 8.815e-05/0.2003, allocations: 118.5 kB / 0.771 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.2004, allocations: 7.953 kB / 0.7711 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000334/0.2007, allocations: 150.3 kB / 0.7712 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.2007, allocations: 3.938 kB / 0.7712 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2007, allocations: 0 / 0.7712 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2007, allocations: 0 / 0.7712 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.2009, allocations: 201.6 kB / 0.7714 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2009, allocations: 0 / 0.7714 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.2011, allocations: 19.98 kB / 0.7714 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2011, allocations: 256 / 0.7714 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.2011, allocations: 8 kB / 0.7714 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.2011, allocations: 7.938 kB / 0.7714 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2011, allocations: 3.984 kB / 0.7714 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/0.2014, allocations: 219.4 kB / 0.7716 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.678e-05/0.2014, allocations: 89.03 kB / 0.7717 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.2015, allocations: 4 kB / 0.7717 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.2016, allocations: 15.94 kB / 0.7717 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.2016, allocations: 3.984 kB / 0.7717 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.2016, allocations: 4 kB / 0.7717 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.299e-05/0.2017, allocations: 105.4 kB / 0.7719 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2017, allocations: 4 kB / 0.7719 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002392/0.202, allocations: 19.89 kB / 0.7719 GB, free: 2.438 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.0005641/0.2025, allocations: 0.7631 MB / 0.7726 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002725/0.2028, allocations: 95.94 kB / 0.7727 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2028, allocations: 0 / 0.7727 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.2029, allocations: 51.91 kB / 0.7728 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.2032, allocations: 19.92 kB / 0.7728 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3074/0.5106, allocations: 1.586 MB / 0.7743 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/0.5109, allocations: 0.6994 MB / 0.775 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001938/0.5111, allocations: 14.91 kB / 0.775 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.371e-05/0.5112, allocations: 28.08 kB / 0.7751 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of SimCode: time 1.152e-06/0.5112, allocations: 3.031 kB / 0.7751 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/0.5298, allocations: 2.015 MB / 0.777 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.489/8.019, allocations: 7.812 kB / 0.777 GB, free: 13.17 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)