Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007979/0.0007979, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000787/0.000787, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8987/0.8987, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.809/1.809, allocations: 377.8 MB / 0.6229 GB, free: 8.637 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.9823 GB, free: 2.023 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.515e-05, allocations: 2.281 kB / 0.9823 GB, free: 2.02 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001118/0.001143, allocations: 0.6023 MB / 0.9828 GB, free: 1.422 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0005082/0.001652, allocations: 314.8 kB / 0.9831 GB, free: 1.113 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.304e-05/0.001675, allocations: 0 / 0.9831 GB, free: 1.113 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.48e-05/0.001689, allocations: 4 kB / 0.9831 GB, free: 1.109 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 1.961e-05/0.001709, allocations: 0 / 0.9831 GB, free: 1.109 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003815/0.00209, allocations: 117.7 kB / 0.9833 GB, free: 0.9961 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.199e-05/0.002142, allocations: 11.94 kB / 0.9833 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.152e-05/0.002184, allocations: 0 / 0.9833 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.073e-05/0.002215, allocations: 7.984 kB / 0.9833 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.77e-05/0.002272, allocations: 0 / 0.9833 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.002287, allocations: 7.984 kB / 0.9833 GB, free: 0.9688 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002493/0.002537, allocations: 259.6 kB / 0.9835 GB, free: 0.7148 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.002551, allocations: 3.984 kB / 0.9835 GB, free: 0.7109 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.549e-05/0.002566, allocations: 0 / 0.9835 GB, free: 0.7109 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.00274, allocations: 123.6 kB / 0.9837 GB, free: 0.5898 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.002742, allocations: 4 kB / 0.9837 GB, free: 0.5859 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.253e-06/0.002743, allocations: 0 / 0.9837 GB, free: 0.5859 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.002747, allocations: 4 kB / 0.9837 GB, free: 0.582 MB / 0.9323 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.000444/0.003191, allocations: 270.2 kB / 0.9839 GB, free: 292 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.003233, allocations: 12.02 kB / 0.9839 GB, free: 280 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.44e-05/0.003287, allocations: 0.9375 kB / 0.9839 GB, free: 280 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.127e-05/0.003359, allocations: 105.8 kB / 0.984 GB, free: 148 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.003369, allocations: 384 / 0.984 GB, free: 148 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.003391, allocations: 384 / 0.984 GB, free: 148 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.003493, allocations: 59.97 kB / 0.9841 GB, free: 76 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.0035, allocations: 12.12 kB / 0.9841 GB, free: 64 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.003511, allocations: 4.359 kB / 0.9841 GB, free: 60 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.003515, allocations: 384 / 0.9841 GB, free: 60 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.961e-05/0.003534, allocations: 7.875 kB / 0.9841 GB, free: 52 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001221/0.003657, allocations: 105.3 kB / 0.9842 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.272e-05/0.003699, allocations: 18.61 kB / 0.9842 GB, free: 15.89 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.533e-05/0.003715, allocations: 12.91 kB / 0.9842 GB, free: 15.88 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003578/0.004072, allocations: 83.91 kB / 0.9843 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.004093, allocations: 30.56 kB / 0.9844 GB, free: 15.75 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.004094, allocations: 0 / 0.9844 GB, free: 15.75 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0004138/0.004508, allocations: 173.2 kB / 0.9845 GB, free: 15.55 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.004535, allocations: 59.41 kB / 0.9846 GB, free: 15.48 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.892e-05/0.004584, allocations: 102 kB / 0.9847 GB, free: 15.37 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.004595, allocations: 37.58 kB / 0.9847 GB, free: 15.33 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.294e-05/0.004618, allocations: 80.14 kB / 0.9848 GB, free: 15.25 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.00464, allocations: 11.91 kB / 0.9848 GB, free: 15.23 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.48e-05/0.004665, allocations: 13.72 kB / 0.9848 GB, free: 15.21 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.296e-05/0.004738, allocations: 314.8 kB / 0.9851 GB, free: 14.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.291e-05/0.004751, allocations: 7.984 kB / 0.9851 GB, free: 14.89 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.155e-05/0.004772, allocations: 17.72 kB / 0.9851 GB, free: 14.87 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.663e-05/0.004809, allocations: 25.84 kB / 0.9852 GB, free: 14.84 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.00481, allocations: 4 kB / 0.9852 GB, free: 14.83 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.886e-05/0.004879, allocations: 53.62 kB / 0.9852 GB, free: 14.77 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.004892, allocations: 8 kB / 0.9852 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.004897, allocations: 0 / 0.9852 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.004909, allocations: 0 / 0.9852 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.3e-05/0.004952, allocations: 4 kB / 0.9852 GB, free: 14.76 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.004959, allocations: 7.938 kB / 0.9852 GB, free: 14.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.098e-05/0.00497, allocations: 0 / 0.9852 GB, free: 14.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.004976, allocations: 3.984 kB / 0.9852 GB, free: 14.75 MB / 0.948 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 () * 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.186e-05/0.005028, allocations: 117.8 kB / 0.9853 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.005039, allocations: 0 / 0.9853 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.005139, allocations: 53.38 kB / 0.9854 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.005142, allocations: 0 / 0.9854 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.005146, allocations: 4 kB / 0.9854 GB, free: 14.56 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.00515, allocations: 3.938 kB / 0.9854 GB, free: 14.56 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.997e-05/0.00521, allocations: 109.3 kB / 0.9855 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.00521, allocations: 3.938 kB / 0.9855 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.593e-05/0.005246, allocations: 4 kB / 0.9855 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.005248, allocations: 4 kB / 0.9855 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.005253, allocations: 0 / 0.9855 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.005253, allocations: 0 / 0.9855 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.005254, allocations: 0 / 0.9855 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.005356, allocations: 88.94 kB / 0.9856 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-06/0.005361, allocations: 0 / 0.9856 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.005371, allocations: 4.031 kB / 0.9856 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.057e-05/0.005392, allocations: 4 kB / 0.9856 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.209e-05/0.005404, allocations: 0 / 0.9856 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.005409, allocations: 4 kB / 0.9856 GB, free: 14.29 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.515e-05/0.005434, allocations: 91.2 kB / 0.9857 GB, free: 14.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.005434, allocations: 0 / 0.9857 GB, free: 14.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001407/0.005575, allocations: 23.94 kB / 0.9857 GB, free: 14.18 MB / 0.948 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 () * 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.0001422/0.005717, allocations: 131.2 kB / 0.9859 GB, free: 14.04 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.596e-05/0.005783, allocations: 15.94 kB / 0.9859 GB, free: 14.03 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.005785, allocations: 0 / 0.9859 GB, free: 14.03 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.137e-05/0.005796, allocations: 11.98 kB / 0.9859 GB, free: 14.02 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001058/0.005902, allocations: 4 kB / 0.9859 GB, free: 14.01 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002169/0.006119, allocations: 127 kB / 0.986 GB, free: 13.86 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.529e-05/0.006154, allocations: 67.42 kB / 0.9861 GB, free: 13.77 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.249e-05/0.006177, allocations: 12.5 kB / 0.9861 GB, free: 13.76 MB / 0.948 GB Notification: Performance of SimCode: time 4.51e-07/0.006177, allocations: 0 / 0.9861 GB, free: 13.76 MB / 0.948 GB Notification: Performance of Templates: time 0.001722/0.007899, allocations: 0.7838 MB / 0.9868 GB, free: 12.98 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 6.572694324888289] Failed to read output from testmodel.py, exit status != 0: 0.012556293047964573 0.020249659 0.015935778 Calling exit ...