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.001114/0.001114, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00111/0.00111, allocations: 189.6 kB / 16.25 MB, free: 6.621 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.136/1.136, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001851/0.001851, allocations: 290.9 kB / 290.4 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8436/0.8436, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 108.8 kB / 0.5948 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1289, allocations: 86.97 MB / 0.6797 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001456/0.1304, allocations: 0.6386 MB / 0.6804 GB, free: 316 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005482/0.1309, allocations: 355.5 kB / 0.6807 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.512e-05/0.1309, allocations: 4 kB / 0.6807 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.148e-05/0.131, allocations: 1.875 kB / 0.6807 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.985e-05/0.131, allocations: 0 / 0.6807 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003711/0.1314, allocations: 98.47 kB / 0.6808 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.702e-05/0.1314, allocations: 11.98 kB / 0.6808 GB, free: 15.85 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.941e-05/0.1315, allocations: 4 kB / 0.6808 GB, free: 15.85 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.336e-05/0.1315, allocations: 0 / 0.6808 GB, free: 15.85 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.599e-05/0.1315, allocations: 11.92 kB / 0.6808 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.388e-06/0.1315, allocations: 0 / 0.6808 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000302/0.1318, allocations: 275.7 kB / 0.6811 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.767e-06/0.1318, allocations: 0.7812 kB / 0.6811 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.576e-05/0.1319, allocations: 7.984 kB / 0.6811 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.132, allocations: 97.5 kB / 0.6812 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.132, allocations: 0 / 0.6812 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.132, allocations: 0 / 0.6812 GB, free: 15.46 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.132, allocations: 0 / 0.6812 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000284/0.1323, allocations: 344.4 kB / 0.6815 GB, free: 15.08 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.1324, allocations: 8.031 kB / 0.6815 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.69e-05/0.1324, allocations: 39.61 kB / 0.6816 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.407e-05/0.1324, allocations: 4.938 kB / 0.6816 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.975e-05/0.1325, allocations: 160.9 kB / 0.6817 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-06/0.1325, allocations: 1.5 kB / 0.6817 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.1326, allocations: 4.281 kB / 0.6817 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.933e-05/0.1326, allocations: 47.12 kB / 0.6818 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.1327, allocations: 3.938 kB / 0.6818 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-06/0.1327, allocations: 8 kB / 0.6818 GB, free: 14.76 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.1327, allocations: 0 / 0.6818 GB, free: 14.76 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.684e-05/0.1327, allocations: 3.984 kB / 0.6818 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001162/0.1328, allocations: 149.7 kB / 0.6819 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.143e-05/0.1329, allocations: 22.61 kB / 0.682 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.554e-05/0.1329, allocations: 8.922 kB / 0.682 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006196/0.1335, allocations: 465.4 kB / 0.6824 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.1336, allocations: 34.56 kB / 0.6824 GB, free: 13.93 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1336, allocations: 0 / 0.6824 GB, free: 13.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000407/0.134, allocations: 250.4 kB / 0.6827 GB, free: 13.63 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.134, allocations: 55.34 kB / 0.6827 GB, free: 13.56 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.647e-05/0.1341, allocations: 97.86 kB / 0.6828 GB, free: 13.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.1341, allocations: 25.7 kB / 0.6829 GB, free: 13.43 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.65e-05/0.1341, allocations: 80.14 kB / 0.6829 GB, free: 13.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.1341, allocations: 15.8 kB / 0.683 GB, free: 13.33 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.1342, allocations: 17.97 kB / 0.683 GB, free: 13.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.659e-05/0.1342, allocations: 314.8 kB / 0.6833 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.631e-05/0.1343, allocations: 8 kB / 0.6833 GB, free: 12.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.417e-05/0.1343, allocations: 17.7 kB / 0.6833 GB, free: 12.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.783e-05/0.1343, allocations: 25.66 kB / 0.6833 GB, free: 12.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1343, allocations: 4 kB / 0.6833 GB, free: 12.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.572e-05/0.1344, allocations: 53.69 kB / 0.6834 GB, free: 12.86 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.1345, allocations: 7.938 kB / 0.6834 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.1345, allocations: 0 / 0.6834 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.1345, allocations: 0 / 0.6834 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.711e-05/0.1345, allocations: 11.94 kB / 0.6834 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.1345, allocations: 0 / 0.6834 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.799e-05/0.1346, allocations: 4 kB / 0.6834 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.1346, allocations: 4 kB / 0.6834 GB, free: 12.84 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 5.165e-05/0.1346, allocations: 107.2 kB / 0.6835 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.1347, allocations: 15.98 kB / 0.6835 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.1348, allocations: 61.06 kB / 0.6836 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.1348, allocations: 0 / 0.6836 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1348, allocations: 0 / 0.6836 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.1348, allocations: 3.938 kB / 0.6836 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.016e-05/0.1349, allocations: 153.7 kB / 0.6837 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1349, allocations: 0 / 0.6837 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.619e-05/0.1349, allocations: 4 kB / 0.6837 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.1349, allocations: 7.938 kB / 0.6837 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-06/0.135, allocations: 4 kB / 0.6837 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.135, allocations: 7.984 kB / 0.6837 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.135, allocations: 0 / 0.6837 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.1351, allocations: 73.03 kB / 0.6838 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.656e-05/0.1351, allocations: 81.05 kB / 0.6839 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.1351, allocations: 4 kB / 0.6839 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.941e-05/0.1352, allocations: 8.031 kB / 0.6839 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.503e-05/0.1352, allocations: 11.98 kB / 0.6839 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.1352, allocations: 240 / 0.6839 GB, free: 12.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.933e-05/0.1352, allocations: 79.28 kB / 0.684 GB, free: 12.12 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1353, allocations: 3.938 kB / 0.684 GB, free: 12.12 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001885/0.1354, allocations: 24 kB / 0.684 GB, free: 12.09 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.0003854/0.1358, allocations: 0.6399 MB / 0.6846 GB, free: 11.42 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.298e-05/0.1359, allocations: 23.92 kB / 0.6847 GB, free: 11.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1359, allocations: 0 / 0.6847 GB, free: 11.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.679e-05/0.136, allocations: 12 kB / 0.6847 GB, free: 11.39 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.1361, allocations: 1.625 kB / 0.6847 GB, free: 11.39 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007382/0.1368, allocations: 1.128 MB / 0.6858 GB, free: 10.17 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001845/0.137, allocations: 0.6846 MB / 0.6864 GB, free: 9.461 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.89e-05/0.1371, allocations: 7.938 kB / 0.6865 GB, free: 9.453 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.131e-05/0.1371, allocations: 7.438 kB / 0.6865 GB, free: 9.449 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1371, allocations: 0 / 0.6865 GB, free: 9.449 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4001/0.5372, allocations: 1.662 MB / 0.6881 GB, free: 7.996 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003443/0.5376, allocations: 247.1 kB / 0.6883 GB, free: 7.738 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/2.319, allocations: 0 / 0.6883 GB, free: 7.738 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)