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.001256/0.001256, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.383/1.383, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002407/0.002407, allocations: 294.9 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.049/1.049, allocations: 178.6 MB / 0.5073 GB, free: 4.582 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002659/0.002659, allocations: 102.8 kB / 0.6065 GB, free: 24.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1576, allocations: 89.15 MB / 0.6936 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.003109/0.1607, allocations: 1.593 MB / 0.6952 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009183/0.1617, allocations: 0.5052 MB / 0.6956 GB, free: 2.121 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.408e-05/0.1617, allocations: 0 / 0.6956 GB, free: 2.121 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.1618, allocations: 19.86 kB / 0.6957 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.346e-05/0.1619, allocations: 13.53 kB / 0.6957 GB, free: 2.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.1621, allocations: 35.95 kB / 0.6957 GB, free: 2.055 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.1622, allocations: 79.77 kB / 0.6958 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.1624, allocations: 45.03 kB / 0.6958 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.907e-05/0.1625, allocations: 35.91 kB / 0.6959 GB, free: 1.898 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.275e-05/0.1626, allocations: 43.83 kB / 0.6959 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.1626, allocations: 8 kB / 0.6959 GB, free: 1.848 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.321e-05/0.1627, allocations: 12 kB / 0.6959 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.157e-05/0.1627, allocations: 19.92 kB / 0.6959 GB, free: 1.816 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.324e-05/0.1628, allocations: 39.73 kB / 0.696 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.163, allocations: 87.64 kB / 0.6961 GB, free: 1.691 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.163, allocations: 0 / 0.6961 GB, free: 1.691 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.163, allocations: 0 / 0.6961 GB, free: 1.691 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.163, allocations: 7.938 kB / 0.6961 GB, free: 1.684 MB / 494.1 MB 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.0005776/0.1636, allocations: 403 kB / 0.6965 GB, free: 1.242 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1636, allocations: 12.03 kB / 0.6965 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.688e-05/0.1637, allocations: 38.75 kB / 0.6965 GB, free: 1.184 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/0.1637, allocations: 8.844 kB / 0.6965 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.1639, allocations: 200.1 kB / 0.6967 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.1639, allocations: 4.312 kB / 0.6967 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.164, allocations: 8.375 kB / 0.6967 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.1642, allocations: 111.4 kB / 0.6968 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1643, allocations: 3.984 kB / 0.6968 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.1643, allocations: 4 kB / 0.6968 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1643, allocations: 4 kB / 0.6968 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002462/0.1645, allocations: 91.94 kB / 0.6969 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006347/0.1652, allocations: 388.4 kB / 0.6973 GB, free: 292 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.1654, allocations: 62.48 kB / 0.6974 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.1655, allocations: 44.95 kB / 0.6974 GB, free: 172 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.057e-05/0.1655, allocations: 11.98 kB / 0.6974 GB, free: 160 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.1656, allocations: 30.56 kB / 0.6974 GB, free: 120 kB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1656, allocations: 0 / 0.6974 GB, free: 120 kB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004781/0.1661, allocations: 169.5 kB / 0.6976 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.1661, allocations: 55.34 kB / 0.6977 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.1662, allocations: 139.3 kB / 0.6978 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.1662, allocations: 25.7 kB / 0.6978 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/0.1663, allocations: 104.1 kB / 0.6979 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.1664, allocations: 19.72 kB / 0.6979 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/0.1664, allocations: 29.7 kB / 0.698 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1665, allocations: 318.8 kB / 0.6983 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.1667, allocations: 39.97 kB / 0.6983 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.1668, allocations: 39.97 kB / 0.6983 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.167, allocations: 89.19 kB / 0.6984 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.167, allocations: 0 / 0.6984 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000283/0.1673, allocations: 129.5 kB / 0.6985 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.1673, allocations: 4 kB / 0.6986 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1673, allocations: 0 / 0.6986 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.1674, allocations: 3.938 kB / 0.6986 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.1675, allocations: 19.92 kB / 0.6986 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.1675, allocations: 4 kB / 0.6986 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.295e-05/0.1676, allocations: 11.98 kB / 0.6986 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.1676, allocations: 4 kB / 0.6986 GB, free: 14.88 MB / 0.4981 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 9.343e-05/0.1677, allocations: 122.5 kB / 0.6987 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.1678, allocations: 7.906 kB / 0.6987 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003456/0.1681, allocations: 138.3 kB / 0.6988 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.1681, allocations: 19.75 kB / 0.6989 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1681, allocations: 4 kB / 0.6989 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1682, allocations: 0 / 0.6989 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.1684, allocations: 201.6 kB / 0.6991 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1684, allocations: 0 / 0.6991 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.1685, allocations: 19.98 kB / 0.6991 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1685, allocations: 0 / 0.6991 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.1685, allocations: 4 kB / 0.6991 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1685, allocations: 3.938 kB / 0.6991 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1685, allocations: 0 / 0.6991 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/0.1689, allocations: 219.4 kB / 0.6993 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.1689, allocations: 85.02 kB / 0.6994 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.169, allocations: 7.984 kB / 0.6994 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.999e-05/0.1691, allocations: 8.125 kB / 0.6994 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.1691, allocations: 11.92 kB / 0.6994 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.1692, allocations: 8 kB / 0.6994 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.528e-05/0.1692, allocations: 104.7 kB / 0.6995 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1692, allocations: 0 / 0.6995 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002388/0.1695, allocations: 19.91 kB / 0.6995 GB, free: 13.81 MB / 0.4981 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.000708/0.1702, allocations: 0.7554 MB / 0.7003 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002954/0.1705, allocations: 103.9 kB / 0.7004 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1705, allocations: 0 / 0.7004 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.1707, allocations: 51.97 kB / 0.7004 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.1709, allocations: 14.27 kB / 0.7004 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.1728, allocations: 1.596 MB / 0.702 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.1732, allocations: 0.7041 MB / 0.7027 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001409/0.1733, allocations: 19.97 kB / 0.7027 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.341e-05/0.1734, allocations: 23.42 kB / 0.7027 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/0.1734, allocations: 0 / 0.7027 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.1972, allocations: 1.988 MB / 0.7047 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.478/7.675, allocations: 3.391 kB / 0.7047 GB, free: 8.512 MB / 0.4981 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)