Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.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.Biquadratic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Biquadratic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic",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.001275/0.001275, allocations: 108 kB / 15.6 MB, free: 132 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.00127/0.00127, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002486/0.002486, allocations: 291 kB / 290.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.041/1.041, allocations: 178.6 MB / 0.5073 GB, free: 4.547 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002611/0.002611, allocations: 99.59 kB / 0.6065 GB, free: 24.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1605, allocations: 89.14 MB / 0.6936 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.002578/0.1631, allocations: 1.498 MB / 0.6951 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002997/0.1635, allocations: 104.5 kB / 0.6952 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.01e-05/0.1635, allocations: 0 / 0.6952 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.385e-05/0.1636, allocations: 3.938 kB / 0.6952 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.099e-05/0.1636, allocations: 9.438 kB / 0.6952 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.1638, allocations: 19.97 kB / 0.6952 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.175e-05/0.1639, allocations: 47.8 kB / 0.6952 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.164, allocations: 14.83 kB / 0.6952 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.855e-05/0.1641, allocations: 15.97 kB / 0.6953 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.841e-05/0.1642, allocations: 27.86 kB / 0.6953 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.1642, allocations: 4 kB / 0.6953 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.039e-05/0.1643, allocations: 19.98 kB / 0.6953 GB, free: 2.445 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.131e-05/0.1643, allocations: 12.77 kB / 0.6953 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.436e-05/0.1643, allocations: 15.88 kB / 0.6953 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.1645, allocations: 61.78 kB / 0.6954 GB, free: 2.359 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1645, allocations: 0 / 0.6954 GB, free: 2.359 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1645, allocations: 0 / 0.6954 GB, free: 2.359 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1645, allocations: 4 kB / 0.6954 GB, free: 2.355 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000628/0.1652, allocations: 381.6 kB / 0.6958 GB, free: 1.934 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.1652, allocations: 12.03 kB / 0.6958 GB, free: 1.922 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.502e-05/0.1653, allocations: 34.73 kB / 0.6958 GB, free: 1.879 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.05e-05/0.1653, allocations: 8.844 kB / 0.6958 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.1654, allocations: 172.2 kB / 0.696 GB, free: 1.664 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.1655, allocations: 384 / 0.696 GB, free: 1.664 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.1655, allocations: 4.375 kB / 0.696 GB, free: 1.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.1658, allocations: 78.2 kB / 0.6961 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1658, allocations: 7.938 kB / 0.6961 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1658, allocations: 0 / 0.6961 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1658, allocations: 0 / 0.6961 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003034/0.1661, allocations: 75.86 kB / 0.6961 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/0.1666, allocations: 292.7 kB / 0.6964 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.1668, allocations: 74.47 kB / 0.6965 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.167, allocations: 36.92 kB / 0.6965 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002952/0.1673, allocations: 121 kB / 0.6966 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.1673, allocations: 30.56 kB / 0.6967 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1673, allocations: 0 / 0.6967 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005864/0.1679, allocations: 141.5 kB / 0.6968 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.168, allocations: 63.41 kB / 0.6969 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.1681, allocations: 123.2 kB / 0.697 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.1681, allocations: 25.7 kB / 0.697 GB, free: 496 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.752e-05/0.1682, allocations: 96.05 kB / 0.6971 GB, free: 396 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.1682, allocations: 11.89 kB / 0.6971 GB, free: 384 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.1683, allocations: 9.719 kB / 0.6971 GB, free: 368 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1684, allocations: 318.8 kB / 0.6974 GB, free: 40 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.1685, allocations: 39.95 kB / 0.6975 GB, free: 0 / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.1687, allocations: 35.95 kB / 0.6975 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.169, allocations: 84.72 kB / 0.6976 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.169, allocations: 0 / 0.6976 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003358/0.1694, allocations: 113.8 kB / 0.6977 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.1694, allocations: 8 kB / 0.6977 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1694, allocations: 0 / 0.6977 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1694, allocations: 4.031 kB / 0.6977 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.1695, allocations: 15.97 kB / 0.6977 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1696, allocations: 4 kB / 0.6977 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.1e-05/0.1696, allocations: 15.98 kB / 0.6977 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.1697, allocations: 4 kB / 0.6977 GB, free: 15.71 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 (3): * Single equations (assignments): 3 * 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.095e-05/0.1697, allocations: 114.4 kB / 0.6978 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.168e-05/0.1698, allocations: 11.89 kB / 0.6979 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003705/0.1702, allocations: 117.5 kB / 0.698 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1702, allocations: 4 kB / 0.698 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1702, allocations: 8 kB / 0.698 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1702, allocations: 0 / 0.698 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.1704, allocations: 181.6 kB / 0.6982 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1704, allocations: 0 / 0.6982 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.734e-05/0.1705, allocations: 15.98 kB / 0.6982 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.1705, allocations: 3.984 kB / 0.6982 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.1705, allocations: 0 / 0.6982 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1705, allocations: 0 / 0.6982 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1705, allocations: 0 / 0.6982 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000394/0.1709, allocations: 215.4 kB / 0.6984 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.278e-05/0.171, allocations: 88.94 kB / 0.6985 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.171, allocations: 7.938 kB / 0.6985 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.1711, allocations: 7.984 kB / 0.6985 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.1712, allocations: 8 kB / 0.6985 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.1712, allocations: 0 / 0.6985 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.866e-05/0.1713, allocations: 107.9 kB / 0.6986 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1713, allocations: 0 / 0.6986 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002318/0.1715, allocations: 8 kB / 0.6986 GB, free: 14.73 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 (3): * Single equations (assignments): 3 * 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.0007558/0.1723, allocations: 0.7435 MB / 0.6993 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003443/0.1726, allocations: 79.86 kB / 0.6994 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1727, allocations: 0 / 0.6994 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.1728, allocations: 47.95 kB / 0.6994 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.1731, allocations: 4 kB / 0.6994 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004757/0.1735, allocations: 187.2 kB / 0.6996 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.1739, allocations: 0.6924 MB / 0.7003 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.549e-05/0.1739, allocations: 0 / 0.7003 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.132e-05/0.1739, allocations: 19.42 kB / 0.7003 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1739, allocations: 0 / 0.7003 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02167/0.1956, allocations: 1.866 MB / 0.7021 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.387/7.582, allocations: 2.5 kB / 0.7021 GB, free: 11.08 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic_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_Biquadratic.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe 2>&1)