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.001683/0.001682, 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.002036/0.002036, allocations: 196.6 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.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002096/0.002096, allocations: 282.7 kB / 290.7 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.928/0.928, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 96.28 kB / 0.5954 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1464, allocations: 86.97 MB / 0.6803 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001695/0.1482, allocations: 0.6042 MB / 0.6809 GB, free: 12 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006336/0.1488, allocations: 356.3 kB / 0.6812 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.274e-05/0.1489, allocations: 0 / 0.6812 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.36e-05/0.1489, allocations: 3.938 kB / 0.6812 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.787e-05/0.1489, allocations: 3.031 kB / 0.6812 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004468/0.1494, allocations: 121 kB / 0.6813 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.108e-05/0.1494, allocations: 23.97 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.888e-05/0.1495, allocations: 4.266 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.554e-05/0.1495, allocations: 11.94 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.464e-05/0.1496, allocations: 11.92 kB / 0.6814 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.1496, allocations: 4.781 kB / 0.6814 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000356/0.1499, allocations: 275.7 kB / 0.6817 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.15, allocations: 12.59 kB / 0.6817 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.659e-05/0.15, allocations: 8.812 kB / 0.6817 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.1502, allocations: 103.8 kB / 0.6818 GB, free: 15.1 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1502, allocations: 0 / 0.6818 GB, free: 15.1 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1502, allocations: 0.5312 kB / 0.6818 GB, free: 15.1 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1502, allocations: 1 kB / 0.6818 GB, free: 15.1 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.000398/0.1506, allocations: 360.6 kB / 0.6821 GB, free: 14.7 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1507, allocations: 11.97 kB / 0.6821 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.149e-05/0.1507, allocations: 38.75 kB / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.977e-05/0.1508, allocations: 8.844 kB / 0.6822 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.1509, allocations: 172.3 kB / 0.6824 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.1509, allocations: 384 / 0.6824 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.1509, allocations: 16.3 kB / 0.6824 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.151, allocations: 50.25 kB / 0.6824 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1511, allocations: 3.938 kB / 0.6824 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.1511, allocations: 0 / 0.6824 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1511, allocations: 0 / 0.6824 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.068e-05/0.1511, allocations: 19.98 kB / 0.6824 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.1513, allocations: 177.5 kB / 0.6826 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.754e-05/0.1514, allocations: 58.5 kB / 0.6827 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.163e-05/0.1515, allocations: 28.84 kB / 0.6827 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006311/0.1521, allocations: 457.5 kB / 0.6831 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.1521, allocations: 38.56 kB / 0.6832 GB, free: 13.42 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.1521, allocations: 0 / 0.6832 GB, free: 13.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001169/0.1533, allocations: 0.5876 MB / 0.6837 GB, free: 12.74 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.1533, allocations: 55.41 kB / 0.6838 GB, free: 12.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.524e-05/0.1534, allocations: 101.8 kB / 0.6839 GB, free: 12.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.1534, allocations: 25.7 kB / 0.6839 GB, free: 12.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.648e-05/0.1535, allocations: 80.14 kB / 0.684 GB, free: 12.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.925e-05/0.1535, allocations: 43.44 kB / 0.684 GB, free: 12.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.1535, allocations: 21.72 kB / 0.6841 GB, free: 12.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.739e-05/0.1536, allocations: 326.8 kB / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.88e-05/0.1537, allocations: 19.94 kB / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.692e-05/0.1537, allocations: 24.98 kB / 0.6844 GB, free: 12.01 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.658e-05/0.1538, allocations: 59.84 kB / 0.6845 GB, free: 11.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1538, allocations: 0 / 0.6845 GB, free: 11.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001511/0.154, allocations: 101.5 kB / 0.6846 GB, free: 11.85 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.154, allocations: 4 kB / 0.6846 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.154, allocations: 0 / 0.6846 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.154, allocations: 0 / 0.6846 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.1541, allocations: 27.92 kB / 0.6846 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1542, allocations: 4 kB / 0.6846 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.442e-05/0.1542, allocations: 4 kB / 0.6846 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.1542, allocations: 4 kB / 0.6846 GB, free: 11.8 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.043e-05/0.1543, allocations: 119.1 kB / 0.6847 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.1543, allocations: 3.938 kB / 0.6847 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/0.1545, allocations: 121.5 kB / 0.6848 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1545, allocations: 0 / 0.6848 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1545, allocations: 0 / 0.6848 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1545, allocations: 4.188 kB / 0.6848 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003377/0.1549, allocations: 354.5 kB / 0.6852 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1549, allocations: 0 / 0.6852 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.155, allocations: 27.92 kB / 0.6852 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.155, allocations: 3.984 kB / 0.6852 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.155, allocations: 4 kB / 0.6852 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.155, allocations: 96 / 0.6852 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.155, allocations: 3.938 kB / 0.6852 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.1553, allocations: 219.4 kB / 0.6854 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.875e-05/0.1553, allocations: 89.03 kB / 0.6855 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.1553, allocations: 7.984 kB / 0.6855 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.96e-05/0.1554, allocations: 4 kB / 0.6855 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.407e-05/0.1555, allocations: 0 / 0.6855 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.1555, allocations: 4 kB / 0.6855 GB, free: 10.75 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.274e-05/0.1555, allocations: 87.27 kB / 0.6856 GB, free: 10.67 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1555, allocations: 0 / 0.6856 GB, free: 10.67 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.1558, allocations: 40.06 kB / 0.6856 GB, free: 10.63 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.0005473/0.1563, allocations: 0.7943 MB / 0.6864 GB, free: 9.809 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000138/0.1565, allocations: 71.91 kB / 0.6865 GB, free: 9.738 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1565, allocations: 0 / 0.6865 GB, free: 9.738 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.712e-05/0.1565, allocations: 31.94 kB / 0.6865 GB, free: 9.707 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.1568, allocations: 16.8 kB / 0.6865 GB, free: 9.691 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.1579, allocations: 1.39 MB / 0.6879 GB, free: 8.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.1581, allocations: 0.6885 MB / 0.6886 GB, free: 7.516 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.558e-05/0.1581, allocations: 8.297 kB / 0.6886 GB, free: 7.508 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.853e-05/0.1582, allocations: 27.42 kB / 0.6886 GB, free: 7.48 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1582, allocations: 0 / 0.6886 GB, free: 7.48 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2664/0.4246, allocations: 2.466 MB / 0.691 GB, free: 5.18 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.743/8.167, allocations: 10.06 kB / 0.691 GB, free: 5.172 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)