Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.0006654/0.0006655, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.003905/0.003905, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.201/1.201, allocations: 223.2 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.001569/0.001569, allocations: 263.3 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.86/0.86, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003887/0.0003887, allocations: 15.47 kB / 0.5988 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1341, allocations: 88.55 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0005909/0.1347, allocations: 313.9 kB / 0.6855 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000601/0.1353, allocations: 371.6 kB / 0.6859 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.157e-05/0.1354, allocations: 5.125 kB / 0.6859 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.588e-06/0.1354, allocations: 0 / 0.6859 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.85e-05/0.1354, allocations: 0 / 0.6859 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.1357, allocations: 79.56 kB / 0.686 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.946e-05/0.1358, allocations: 11.98 kB / 0.686 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.96e-05/0.1358, allocations: 1.375 kB / 0.686 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.747e-05/0.1358, allocations: 7.984 kB / 0.686 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.581e-05/0.1359, allocations: 3.938 kB / 0.686 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.1359, allocations: 0 / 0.686 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003316/0.1362, allocations: 281 kB / 0.6863 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.368e-06/0.1362, allocations: 0 / 0.6863 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.785e-05/0.1363, allocations: 29.7 kB / 0.6863 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.1364, allocations: 95.77 kB / 0.6864 GB, free: 13.79 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1364, allocations: 3.031 kB / 0.6864 GB, free: 13.79 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1364, allocations: 0 / 0.6864 GB, free: 13.79 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.995e-06/0.1364, allocations: 7.875 kB / 0.6864 GB, free: 13.78 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002728/0.1367, allocations: 339.8 kB / 0.6867 GB, free: 13.39 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.1368, allocations: 12.03 kB / 0.6867 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.597e-05/0.1368, allocations: 30.75 kB / 0.6868 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.1368, allocations: 0.9375 kB / 0.6868 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.817e-05/0.1369, allocations: 164.9 kB / 0.6869 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.137, allocations: 0.875 kB / 0.6869 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.137, allocations: 5 kB / 0.6869 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.534e-05/0.1371, allocations: 34.97 kB / 0.687 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.1371, allocations: 5.875 kB / 0.687 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.752e-06/0.1371, allocations: 0 / 0.687 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1371, allocations: 7.984 kB / 0.687 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.762e-05/0.1371, allocations: 3.938 kB / 0.687 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001282/0.1373, allocations: 157.6 kB / 0.6871 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.785e-05/0.1373, allocations: 20.05 kB / 0.6872 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.725e-05/0.1373, allocations: 14.64 kB / 0.6872 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006379/0.138, allocations: 460.5 kB / 0.6876 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.138, allocations: 34.56 kB / 0.6876 GB, free: 12.26 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.138, allocations: 0 / 0.6876 GB, free: 12.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004262/0.1384, allocations: 252.4 kB / 0.6879 GB, free: 11.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.1385, allocations: 51.41 kB / 0.6879 GB, free: 11.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.191e-05/0.1386, allocations: 102.5 kB / 0.688 GB, free: 11.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.1386, allocations: 26.58 kB / 0.6881 GB, free: 11.76 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.82e-05/0.1386, allocations: 80.73 kB / 0.6881 GB, free: 11.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.1386, allocations: 11.81 kB / 0.6881 GB, free: 11.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.303e-05/0.1387, allocations: 14.97 kB / 0.6882 GB, free: 11.64 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.849e-05/0.1387, allocations: 318.8 kB / 0.6885 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.697e-05/0.1388, allocations: 8.797 kB / 0.6885 GB, free: 11.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.153e-05/0.1388, allocations: 14.06 kB / 0.6885 GB, free: 11.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.723e-05/0.1388, allocations: 25.72 kB / 0.6885 GB, free: 11.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.1388, allocations: 0 / 0.6885 GB, free: 11.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.588e-05/0.1389, allocations: 57.62 kB / 0.6886 GB, free: 11.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.139, allocations: 11.94 kB / 0.6886 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.139, allocations: 0 / 0.6886 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.206e-06/0.139, allocations: 0 / 0.6886 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.891e-05/0.139, allocations: 8 kB / 0.6886 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.139, allocations: 64 / 0.6886 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.674e-05/0.1391, allocations: 4 kB / 0.6886 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.1391, allocations: 4 kB / 0.6886 GB, free: 11.18 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.017e-05/0.1391, allocations: 111.1 kB / 0.6887 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.1392, allocations: 3.938 kB / 0.6887 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.1393, allocations: 61.06 kB / 0.6888 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1393, allocations: 4 kB / 0.6888 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1393, allocations: 4 kB / 0.6888 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1393, allocations: 0 / 0.6888 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.864e-05/0.1394, allocations: 153.7 kB / 0.6889 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1394, allocations: 0 / 0.6889 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.1395, allocations: 7.984 kB / 0.6889 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1395, allocations: 3.938 kB / 0.6889 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.1395, allocations: 0 / 0.6889 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.1395, allocations: 8 kB / 0.6889 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1395, allocations: 0 / 0.6889 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.1396, allocations: 81.06 kB / 0.689 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.245e-05/0.1397, allocations: 84.95 kB / 0.6891 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.689e-06/0.1397, allocations: 0 / 0.6891 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.833e-05/0.1397, allocations: 8.016 kB / 0.6891 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.227e-05/0.1397, allocations: 240 / 0.6891 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.1397, allocations: 3.938 kB / 0.6891 GB, free: 10.55 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.687e-05/0.1398, allocations: 79.28 kB / 0.6892 GB, free: 10.47 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1398, allocations: 0 / 0.6892 GB, free: 10.47 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001934/0.14, allocations: 28 kB / 0.6892 GB, free: 10.44 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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.0004043/0.1404, allocations: 0.6554 MB / 0.6898 GB, free: 9.754 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.153e-05/0.1405, allocations: 12 kB / 0.6899 GB, free: 9.742 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.1405, allocations: 4 kB / 0.6899 GB, free: 9.738 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.271e-05/0.1405, allocations: 4 kB / 0.6899 GB, free: 9.734 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.1406, allocations: 12.92 kB / 0.6899 GB, free: 9.723 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007567/0.1414, allocations: 1.127 MB / 0.691 GB, free: 8.512 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/0.1416, allocations: 0.6809 MB / 0.6916 GB, free: 7.805 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.901e-05/0.1416, allocations: 7.938 kB / 0.6916 GB, free: 7.797 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.095e-05/0.1417, allocations: 7.438 kB / 0.6917 GB, free: 7.789 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1417, allocations: 4 kB / 0.6917 GB, free: 7.785 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.534/1.676, allocations: 1.563 MB / 0.6932 GB, free: 6.438 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002638/1.676, allocations: 246.5 kB / 0.6934 GB, free: 6.18 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.541/3.217, allocations: 0 / 0.6934 GB, free: 6.18 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)