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.001093/0.001093, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001099/0.001099, allocations: 193.1 kB / 16.13 MB, free: 6.66 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.152/1.152, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001886/0.001886, allocations: 275.2 kB / 290.2 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8501/0.8501, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 98.73 kB / 0.5946 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1241, allocations: 86.98 MB / 0.6796 GB, free: 1.031 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001461/0.1256, allocations: 0.6639 MB / 0.6802 GB, free: 384 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006202/0.1262, allocations: 390.7 kB / 0.6806 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.253e-05/0.1262, allocations: 0 / 0.6806 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.221e-05/0.1262, allocations: 1.719 kB / 0.6806 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.044e-05/0.1263, allocations: 0 / 0.6806 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003067/0.1266, allocations: 80.66 kB / 0.6807 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.946e-05/0.1266, allocations: 15.98 kB / 0.6807 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.241e-05/0.1267, allocations: 8.656 kB / 0.6807 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.853e-05/0.1267, allocations: 15.92 kB / 0.6807 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.148e-05/0.1267, allocations: 17.33 kB / 0.6807 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.1268, allocations: 0 / 0.6807 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003053/0.1271, allocations: 275.6 kB / 0.681 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.272e-05/0.1271, allocations: 8 kB / 0.681 GB, free: 15.58 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.309e-05/0.1271, allocations: 16.58 kB / 0.681 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.1273, allocations: 96.39 kB / 0.6811 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.884e-06/0.1273, allocations: 4 kB / 0.6811 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.1273, allocations: 4 kB / 0.6811 GB, free: 15.46 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.875e-06/0.1273, allocations: 0 / 0.6811 GB, free: 15.46 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.0003326/0.1276, allocations: 359.8 kB / 0.6814 GB, free: 15.06 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.1277, allocations: 12.03 kB / 0.6815 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.591e-05/0.1277, allocations: 34.69 kB / 0.6815 GB, free: 15.01 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.636e-05/0.1278, allocations: 8.844 kB / 0.6815 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.159e-05/0.1278, allocations: 164.3 kB / 0.6817 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.1279, allocations: 8.359 kB / 0.6817 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.1279, allocations: 4.375 kB / 0.6817 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.128, allocations: 66.2 kB / 0.6817 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.128, allocations: 3.938 kB / 0.6817 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.128, allocations: 4 kB / 0.6817 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-06/0.128, allocations: 0 / 0.6817 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.242e-05/0.1281, allocations: 19.98 kB / 0.6818 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001364/0.1282, allocations: 161.6 kB / 0.6819 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.799e-05/0.1283, allocations: 62.5 kB / 0.682 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.697e-05/0.1284, allocations: 32.84 kB / 0.682 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006008/0.129, allocations: 461.5 kB / 0.6824 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.129, allocations: 34.56 kB / 0.6825 GB, free: 13.79 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.129, allocations: 0 / 0.6825 GB, free: 13.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001079/0.1301, allocations: 0.5878 MB / 0.6831 GB, free: 13.11 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.1301, allocations: 51.41 kB / 0.6831 GB, free: 13.05 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.866e-05/0.1302, allocations: 101.9 kB / 0.6832 GB, free: 12.94 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.1302, allocations: 25.7 kB / 0.6832 GB, free: 12.91 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.865e-05/0.1302, allocations: 92.08 kB / 0.6833 GB, free: 12.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.1303, allocations: 35.45 kB / 0.6833 GB, free: 12.78 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.1303, allocations: 29.7 kB / 0.6834 GB, free: 12.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.998e-05/0.1304, allocations: 310.8 kB / 0.6837 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.844e-05/0.1304, allocations: 23.98 kB / 0.6837 GB, free: 12.41 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.769e-05/0.1305, allocations: 22.73 kB / 0.6837 GB, free: 12.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.045e-05/0.1306, allocations: 60.86 kB / 0.6838 GB, free: 12.33 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1306, allocations: 0 / 0.6838 GB, free: 12.33 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001398/0.1307, allocations: 105.5 kB / 0.6839 GB, free: 12.22 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.1307, allocations: 4 kB / 0.6839 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.1307, allocations: 0 / 0.6839 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/0.1308, allocations: 4 kB / 0.6839 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.192e-05/0.1309, allocations: 19.94 kB / 0.6839 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.1309, allocations: 0 / 0.6839 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.214e-05/0.1309, allocations: 4 kB / 0.6839 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.1309, allocations: 3.984 kB / 0.6839 GB, free: 12.18 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 6.592e-05/0.131, allocations: 119.2 kB / 0.684 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.131, allocations: 15.88 kB / 0.684 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001625/0.1312, allocations: 105.5 kB / 0.6841 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1312, allocations: 4 kB / 0.6841 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1312, allocations: 192 / 0.6841 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.1312, allocations: 3.984 kB / 0.6841 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003106/0.1315, allocations: 366.6 kB / 0.6845 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1315, allocations: 0 / 0.6845 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.756e-05/0.1316, allocations: 27.94 kB / 0.6845 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1316, allocations: 0 / 0.6845 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.1317, allocations: 0 / 0.6845 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.1317, allocations: 7.984 kB / 0.6845 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1317, allocations: 0 / 0.6845 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.1319, allocations: 215.5 kB / 0.6847 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.193e-05/0.132, allocations: 93.03 kB / 0.6848 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.132, allocations: 0 / 0.6848 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.966e-05/0.1321, allocations: 8.062 kB / 0.6848 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.75e-05/0.1321, allocations: 7.984 kB / 0.6848 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.1321, allocations: 11.94 kB / 0.6848 GB, free: 11.11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.743e-05/0.1321, allocations: 75.28 kB / 0.6849 GB, free: 11.04 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1321, allocations: 0 / 0.6849 GB, free: 11.04 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002418/0.1324, allocations: 43.98 kB / 0.685 GB, free: 11 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.000516/0.1329, allocations: 0.7937 MB / 0.6857 GB, free: 10.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001145/0.133, allocations: 67.91 kB / 0.6858 GB, free: 10.11 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.133, allocations: 0 / 0.6858 GB, free: 10.11 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.625e-05/0.1331, allocations: 39.92 kB / 0.6858 GB, free: 10.07 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.1333, allocations: 4 kB / 0.6858 GB, free: 10.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.1343, allocations: 1.403 MB / 0.6872 GB, free: 8.594 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001847/0.1345, allocations: 0.6888 MB / 0.6879 GB, free: 7.879 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.396e-05/0.1346, allocations: 11.92 kB / 0.6879 GB, free: 7.867 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.1346, allocations: 19.44 kB / 0.6879 GB, free: 7.848 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1346, allocations: 0 / 0.6879 GB, free: 7.848 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.623/1.757, allocations: 2.338 MB / 0.6902 GB, free: 5.695 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/1.757, allocations: 252.3 kB / 0.6904 GB, free: 5.438 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.579/3.336, allocations: 0 / 0.6904 GB, free: 5.438 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)