Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",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.001017/0.001017, 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.00103/0.001031, allocations: 195.2 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.263/1.263, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001974/0.001974, allocations: 283 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8889/0.8889, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 104.2 kB / 0.5954 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1408, allocations: 86.98 MB / 0.6803 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001626/0.1425, allocations: 0.6088 MB / 0.6809 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005974/0.1431, allocations: 352.4 kB / 0.6812 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.48e-05/0.1431, allocations: 4 kB / 0.6812 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.489e-05/0.1431, allocations: 0 / 0.6812 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.386e-05/0.1432, allocations: 3.938 kB / 0.6812 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003931/0.1436, allocations: 118.6 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.999e-05/0.1436, allocations: 19.98 kB / 0.6814 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.419e-05/0.1437, allocations: 288 / 0.6814 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.429e-05/0.1437, allocations: 23.86 kB / 0.6814 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.528e-05/0.1438, allocations: 11.92 kB / 0.6814 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.1438, allocations: 0.7812 kB / 0.6814 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003353/0.1441, allocations: 279.6 kB / 0.6817 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.1441, allocations: 9.719 kB / 0.6817 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.106e-05/0.1442, allocations: 11.92 kB / 0.6817 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.1443, allocations: 99.77 kB / 0.6818 GB, free: 15.05 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1443, allocations: 0 / 0.6818 GB, free: 15.05 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1443, allocations: 4 kB / 0.6818 GB, free: 15.05 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.1444, allocations: 0.875 kB / 0.6818 GB, free: 15.05 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003618/0.1447, allocations: 356.1 kB / 0.6821 GB, free: 14.65 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.1448, allocations: 13.09 kB / 0.6821 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.247e-05/0.1448, allocations: 38.69 kB / 0.6822 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.1449, allocations: 8.844 kB / 0.6822 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.969e-05/0.1449, allocations: 161.4 kB / 0.6823 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.145, allocations: 384 / 0.6823 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.145, allocations: 8.906 kB / 0.6824 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.1451, allocations: 58.17 kB / 0.6824 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1451, allocations: 7.875 kB / 0.6824 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.1451, allocations: 0 / 0.6824 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1451, allocations: 0 / 0.6824 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.581e-05/0.1452, allocations: 19.98 kB / 0.6824 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/0.1453, allocations: 169.5 kB / 0.6826 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.373e-05/0.1454, allocations: 62.55 kB / 0.6827 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.064e-05/0.1455, allocations: 29.08 kB / 0.6827 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006292/0.1461, allocations: 465.4 kB / 0.6831 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.1462, allocations: 38.5 kB / 0.6832 GB, free: 13.38 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.1462, allocations: 4 kB / 0.6832 GB, free: 13.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001142/0.1473, allocations: 0.5796 MB / 0.6837 GB, free: 12.71 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.1474, allocations: 51.5 kB / 0.6838 GB, free: 12.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.599e-05/0.1474, allocations: 109.8 kB / 0.6839 GB, free: 12.53 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.1475, allocations: 29.7 kB / 0.6839 GB, free: 12.49 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.144e-05/0.1475, allocations: 84.14 kB / 0.684 GB, free: 12.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.1475, allocations: 35.47 kB / 0.684 GB, free: 12.37 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.1476, allocations: 25.7 kB / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.597e-05/0.1477, allocations: 314.8 kB / 0.6844 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.091e-05/0.1477, allocations: 23.98 kB / 0.6844 GB, free: 12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.602e-05/0.1477, allocations: 22.61 kB / 0.6844 GB, free: 11.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.023e-05/0.1478, allocations: 56.86 kB / 0.6845 GB, free: 11.92 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1479, allocations: 4 kB / 0.6845 GB, free: 11.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001496/0.148, allocations: 105.5 kB / 0.6846 GB, free: 11.81 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.148, allocations: 4 kB / 0.6846 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.148, allocations: 4 kB / 0.6846 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.1481, allocations: 4 kB / 0.6846 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.697e-05/0.1482, allocations: 20 kB / 0.6846 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.1482, allocations: 3.984 kB / 0.6846 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.321e-05/0.1482, allocations: 4 kB / 0.6846 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.1482, allocations: 0 / 0.6846 GB, free: 11.77 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 (13): * Single equations (assignments): 13 * 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 7.528e-05/0.1483, allocations: 123.1 kB / 0.6847 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.1483, allocations: 11.88 kB / 0.6847 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.1485, allocations: 105.5 kB / 0.6848 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.1485, allocations: 7.984 kB / 0.6848 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1485, allocations: 0 / 0.6848 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1485, allocations: 0 / 0.6848 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003386/0.1489, allocations: 350.4 kB / 0.6852 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1489, allocations: 0 / 0.6852 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.983e-05/0.149, allocations: 20 kB / 0.6852 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.149, allocations: 4 kB / 0.6852 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.149, allocations: 7.984 kB / 0.6852 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.149, allocations: 4 kB / 0.6852 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.149, allocations: 320 / 0.6852 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.1493, allocations: 219.6 kB / 0.6854 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.785e-05/0.1493, allocations: 92.97 kB / 0.6855 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.1494, allocations: 4 kB / 0.6855 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.078e-05/0.1494, allocations: 8.062 kB / 0.6855 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.746e-05/0.1495, allocations: 7.984 kB / 0.6855 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.1495, allocations: 4 kB / 0.6855 GB, free: 10.71 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.148e-05/0.1495, allocations: 83.45 kB / 0.6856 GB, free: 10.63 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1495, allocations: 0 / 0.6856 GB, free: 10.63 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.1498, allocations: 43.98 kB / 0.6856 GB, free: 10.59 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0005513/0.1503, allocations: 0.8031 MB / 0.6864 GB, free: 9.766 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001415/0.1505, allocations: 63.92 kB / 0.6865 GB, free: 9.703 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1505, allocations: 0 / 0.6865 GB, free: 9.703 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.755e-05/0.1505, allocations: 35.98 kB / 0.6865 GB, free: 9.668 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.1508, allocations: 4 kB / 0.6865 GB, free: 9.664 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.1519, allocations: 1.386 MB / 0.6879 GB, free: 8.199 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.1521, allocations: 0.6963 MB / 0.6886 GB, free: 7.477 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.826e-05/0.1522, allocations: 11.98 kB / 0.6886 GB, free: 7.465 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.398e-05/0.1522, allocations: 19.38 kB / 0.6886 GB, free: 7.445 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1522, allocations: 0 / 0.6886 GB, free: 7.445 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/0.1716, allocations: 2.479 MB / 0.691 GB, free: 5.137 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.925/7.097, allocations: 6.406 kB / 0.691 GB, free: 5.133 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)