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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8368/0.8368, allocations: 141.8 MB / 149.3 MB, free: 9.168 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 184.8 kB / 182.2 MB, free: 9.395 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 221.5 MB / 436.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009416/0.0009416, allocations: 93.78 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001764/0.001764, allocations: 276.9 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.471e-05/2.474e-05, allocations: 8 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4934/0.4934, allocations: 82.78 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1483/0.6417, allocations: 107.9 MB / 0.8629 GB, free: 3.84 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003797/0.6422, allocations: 79.94 kB / 0.8629 GB, free: 3.762 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01835/0.6606, allocations: 4.541 MB / 0.8674 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.426e-06/0.6606, allocations: 4 kB / 0.8674 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.6607, allocations: 3.938 kB / 0.8674 GB, free: 15.21 MB / 0.5417 GB 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.0003671/0.661, allocations: 346.4 kB / 0.8677 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 8.643e-05/0.6611, allocations: 12.03 kB / 0.8677 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.773e-05/0.6612, allocations: 0 / 0.8677 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.6614, allocations: 159.1 kB / 0.8679 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.6614, allocations: 3.953 kB / 0.8679 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.6615, allocations: 7.938 kB / 0.8679 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.723e-05/0.6615, allocations: 3.938 kB / 0.8679 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.228e-05/0.6616, allocations: 41.69 kB / 0.8679 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.6616, allocations: 0 / 0.8679 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.6616, allocations: 0 / 0.8679 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.6616, allocations: 0 / 0.8679 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001529/0.6618, allocations: 130.2 kB / 0.8681 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.332e-05/0.6618, allocations: 18.61 kB / 0.8681 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.985e-05/0.6619, allocations: 12.92 kB / 0.8681 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006082/0.6625, allocations: 461.5 kB / 0.8685 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.6625, allocations: 38.45 kB / 0.8686 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.6625, allocations: 8 kB / 0.8686 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0005575/0.6631, allocations: 238.4 kB / 0.8688 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.6631, allocations: 55.41 kB / 0.8689 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.802e-05/0.6632, allocations: 92.94 kB / 0.8689 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.6632, allocations: 25.7 kB / 0.869 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.62e-05/0.6633, allocations: 80.39 kB / 0.869 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.6633, allocations: 7.906 kB / 0.8691 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/0.6633, allocations: 0 / 0.8691 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.6634, allocations: 322.8 kB / 0.8694 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.212e-05/0.6634, allocations: 0 / 0.8694 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.42e-05/0.6635, allocations: 21.72 kB / 0.8694 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.492e-05/0.6635, allocations: 4 kB / 0.8694 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.6635, allocations: 0 / 0.8694 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001088/0.6636, allocations: 61.53 kB / 0.8694 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.6637, allocations: 7.938 kB / 0.8695 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.6637, allocations: 3.953 kB / 0.8695 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.6637, allocations: 0 / 0.8695 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.047e-05/0.6638, allocations: 8 kB / 0.8695 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.6638, allocations: 0 / 0.8695 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.714e-05/0.6638, allocations: 0 / 0.8695 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.6638, allocations: 7.984 kB / 0.8695 GB, free: 12.73 MB / 0.5417 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.471e-05/0.6639, allocations: 101 kB / 0.8696 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.412e-05/0.664, allocations: 45.69 kB / 0.8696 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.838e-05/0.664, allocations: 3.953 kB / 0.8696 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.6642, allocations: 53.75 kB / 0.8697 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.6642, allocations: 0 / 0.8697 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.6642, allocations: 0 / 0.8697 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.6642, allocations: 7.938 kB / 0.8697 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.647e-05/0.6643, allocations: 130.2 kB / 0.8698 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.6643, allocations: 0 / 0.8698 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.554e-05/0.6644, allocations: 12 kB / 0.8698 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.6644, allocations: 0 / 0.8698 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.6644, allocations: 3.953 kB / 0.8698 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.6644, allocations: 0 / 0.8698 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.6644, allocations: 7.594 kB / 0.8698 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.6646, allocations: 80.95 kB / 0.8699 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.6e-05/0.6646, allocations: 77.11 kB / 0.87 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.6646, allocations: 4.031 kB / 0.87 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.717e-05/0.6647, allocations: 8.016 kB / 0.87 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.6647, allocations: 4 kB / 0.87 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.6647, allocations: 4 kB / 0.87 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.396e-05/0.6648, allocations: 75.28 kB / 0.8701 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6648, allocations: 0 / 0.8701 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002215/0.665, allocations: 35.92 kB / 0.8701 GB, free: 12 MB / 0.5417 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005719/0.6656, allocations: 0.6441 MB / 0.8707 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.539e-05/0.6657, allocations: 15.92 kB / 0.8707 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6657, allocations: 4 kB / 0.8707 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.351e-05/0.6657, allocations: 11.98 kB / 0.8708 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001176/0.6658, allocations: 7.891 kB / 0.8708 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003605/0.6662, allocations: 125.7 kB / 0.8709 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.6665, allocations: 0.6848 MB / 0.8716 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.227e-05/0.6665, allocations: 0 / 0.8716 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.148e-05/0.6666, allocations: 15.38 kB / 0.8716 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of SimCode: time 2.1e-07/0.6666, allocations: 0 / 0.8716 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02151/0.6881, allocations: 1.176 MB / 0.8727 GB, free: 9.246 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000238/0.6884, allocations: 177.6 kB / 0.8729 GB, free: 9.059 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/2.412, allocations: 0 / 0.8729 GB, free: 9.059 MB / 0.5417 GB (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/linux/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)