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.0008166/0.0008166, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.005231/0.005231, allocations: 169.9 kB / 16.27 MB, free: 6.324 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.322/1.322, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001706/0.001706, allocations: 266.1 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9412/0.9412, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004013/0.0004013, allocations: 14.22 kB / 0.5988 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1384, allocations: 88.55 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.001465/0.1398, allocations: 1.2 MB / 0.6864 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002805/0.1402, allocations: 104.6 kB / 0.6865 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.563e-05/0.1402, allocations: 3.938 kB / 0.6865 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.834e-05/0.1402, allocations: 4.812 kB / 0.6865 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.435e-05/0.1403, allocations: 14.17 kB / 0.6865 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001527/0.1404, allocations: 11.98 kB / 0.6865 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.391e-05/0.1405, allocations: 43.8 kB / 0.6866 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.436e-05/0.1406, allocations: 18.44 kB / 0.6866 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.443e-05/0.1407, allocations: 12 kB / 0.6866 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.74e-05/0.1407, allocations: 23.84 kB / 0.6866 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.1407, allocations: 4 kB / 0.6866 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.763e-05/0.1408, allocations: 15.98 kB / 0.6866 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.46e-05/0.1409, allocations: 11.98 kB / 0.6867 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.823e-05/0.1409, allocations: 42.17 kB / 0.6867 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.141, allocations: 59.72 kB / 0.6868 GB, free: 13.38 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1411, allocations: 0.5625 kB / 0.6868 GB, free: 13.38 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1411, allocations: 2 kB / 0.6868 GB, free: 13.38 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.1411, allocations: 0 / 0.6868 GB, free: 13.38 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.0004854/0.1416, allocations: 374.5 kB / 0.6871 GB, free: 12.96 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.1416, allocations: 13.22 kB / 0.6871 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.754e-05/0.1417, allocations: 34.73 kB / 0.6872 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.379e-05/0.1417, allocations: 8.875 kB / 0.6872 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.1418, allocations: 176.9 kB / 0.6873 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.1418, allocations: 5.812 kB / 0.6873 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.1418, allocations: 384 / 0.6873 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.1421, allocations: 94.45 kB / 0.6874 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.1421, allocations: 3.938 kB / 0.6874 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.1421, allocations: 0 / 0.6874 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1421, allocations: 0 / 0.6874 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003209/0.1425, allocations: 95.8 kB / 0.6875 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/0.1428, allocations: 293.6 kB / 0.6878 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.143, allocations: 77.38 kB / 0.6879 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.1432, allocations: 57.42 kB / 0.6879 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001981/0.1434, allocations: 109.1 kB / 0.688 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.1434, allocations: 34.56 kB / 0.6881 GB, free: 11.85 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1435, allocations: 0 / 0.6881 GB, free: 11.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000572/0.144, allocations: 185.4 kB / 0.6883 GB, free: 11.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.1441, allocations: 51.41 kB / 0.6883 GB, free: 11.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.884e-05/0.1442, allocations: 128.7 kB / 0.6884 GB, free: 11.47 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.1442, allocations: 25.7 kB / 0.6884 GB, free: 11.44 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.361e-05/0.1442, allocations: 92.14 kB / 0.6885 GB, free: 11.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.1443, allocations: 7.891 kB / 0.6885 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.1443, allocations: 17.72 kB / 0.6886 GB, free: 11.31 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.652e-05/0.1444, allocations: 314.8 kB / 0.6889 GB, free: 11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.1446, allocations: 51.89 kB / 0.6889 GB, free: 10.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.1447, allocations: 47.97 kB / 0.689 GB, free: 10.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/0.145, allocations: 108.7 kB / 0.6891 GB, free: 10.79 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.145, allocations: 0 / 0.6891 GB, free: 10.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003448/0.1454, allocations: 133.5 kB / 0.6892 GB, free: 10.65 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1454, allocations: 8 kB / 0.6892 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1454, allocations: 0 / 0.6892 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.1454, allocations: 0 / 0.6892 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.1456, allocations: 27.97 kB / 0.6892 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1456, allocations: 0 / 0.6892 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.349e-05/0.1457, allocations: 19.98 kB / 0.6892 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.1457, allocations: 0 / 0.6892 GB, free: 10.6 MB / 494.1 MB 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 6.97e-05/0.1458, allocations: 114.4 kB / 0.6894 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.1458, allocations: 8.234 kB / 0.6894 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003901/0.1462, allocations: 153.4 kB / 0.6895 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1462, allocations: 4 kB / 0.6895 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1462, allocations: 0 / 0.6895 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1462, allocations: 0 / 0.6895 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.1464, allocations: 185.5 kB / 0.6897 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1464, allocations: 4 kB / 0.6897 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.496e-05/0.1465, allocations: 15.98 kB / 0.6897 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.1465, allocations: 4 kB / 0.6897 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-06/0.1465, allocations: 4 kB / 0.6897 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.1465, allocations: 0 / 0.6897 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1466, allocations: 3.938 kB / 0.6897 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003869/0.1469, allocations: 235.2 kB / 0.6899 GB, free: 9.797 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.342e-05/0.147, allocations: 81.11 kB / 0.69 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.147, allocations: 7.984 kB / 0.69 GB, free: 9.691 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.1471, allocations: 19.98 kB / 0.69 GB, free: 9.672 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.1472, allocations: 4 kB / 0.69 GB, free: 9.668 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.1472, allocations: 4 kB / 0.6901 GB, free: 9.664 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.54e-05/0.1472, allocations: 103.2 kB / 0.6902 GB, free: 9.562 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1472, allocations: 0 / 0.6902 GB, free: 9.562 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002239/0.1475, allocations: 8 kB / 0.6902 GB, free: 9.555 MB / 494.1 MB 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.0006316/0.1481, allocations: 0.7631 MB / 0.6909 GB, free: 8.766 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003438/0.1485, allocations: 103.9 kB / 0.691 GB, free: 8.664 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1485, allocations: 4 kB / 0.691 GB, free: 8.66 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.1486, allocations: 47.95 kB / 0.6911 GB, free: 8.613 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.1489, allocations: 18.05 kB / 0.6911 GB, free: 8.598 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004933/0.1494, allocations: 194.3 kB / 0.6913 GB, free: 8.371 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.1496, allocations: 0.6848 MB / 0.6919 GB, free: 7.66 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.717e-05/0.1497, allocations: 4 kB / 0.6919 GB, free: 7.656 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.682e-05/0.1497, allocations: 19.44 kB / 0.6919 GB, free: 7.637 MB / 494.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1497, allocations: 0 / 0.6919 GB, free: 7.637 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0108/0.1605, allocations: 1.569 MB / 0.6935 GB, free: 6.203 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/0.1608, allocations: 197.2 kB / 0.6937 GB, free: 5.953 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/1.866, allocations: 0 / 0.6937 GB, free: 5.953 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe 2>&1)