Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.0008408/0.0008408, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009931/0.0009931, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8925/0.8925, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.721/1.721, allocations: 377.8 MB / 0.6221 GB, free: 8.684 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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 0.981 GB, free: 2.535 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.581e-05/1.696e-05, allocations: 2.281 kB / 0.981 GB, free: 2.531 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.00112/0.001137, allocations: 0.6216 MB / 0.9816 GB, free: 1.914 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0005051/0.001642, allocations: 326.8 kB / 0.9819 GB, free: 1.594 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.67e-05/0.001669, allocations: 0 / 0.9819 GB, free: 1.594 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.494e-05/0.001684, allocations: 3.938 kB / 0.9819 GB, free: 1.59 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 2.667e-05/0.001711, allocations: 0 / 0.9819 GB, free: 1.59 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004021/0.002113, allocations: 123.6 kB / 0.9821 GB, free: 1.469 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.918e-05/0.002172, allocations: 19.92 kB / 0.9821 GB, free: 1.449 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/0.002211, allocations: 4 kB / 0.9821 GB, free: 1.445 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.248e-05/0.002263, allocations: 19.97 kB / 0.9821 GB, free: 1.426 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.831e-05/0.002312, allocations: 15.92 kB / 0.9821 GB, free: 1.41 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.002325, allocations: 0 / 0.9821 GB, free: 1.41 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002572/0.002583, allocations: 255.6 kB / 0.9824 GB, free: 1.16 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.002599, allocations: 11.92 kB / 0.9824 GB, free: 1.148 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.795e-05/0.002617, allocations: 11.98 kB / 0.9824 GB, free: 1.137 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.002791, allocations: 131.7 kB / 0.9825 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.002792, allocations: 0 / 0.9825 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.142e-06/0.002794, allocations: 0 / 0.9825 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.002797, allocations: 0 / 0.9825 GB, free: 1.008 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003494/0.003146, allocations: 282.1 kB / 0.9828 GB, free: 0.6992 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.003188, allocations: 16.03 kB / 0.9828 GB, free: 0.6836 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.052e-05/0.003218, allocations: 38.75 kB / 0.9828 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.072e-05/0.003269, allocations: 8.891 kB / 0.9828 GB, free: 0.6289 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.914e-05/0.003348, allocations: 109.7 kB / 0.9829 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.00336, allocations: 8.359 kB / 0.9829 GB, free: 500 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.003382, allocations: 4.375 kB / 0.983 GB, free: 496 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.003498, allocations: 97.66 kB / 0.983 GB, free: 380 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.003507, allocations: 192 / 0.983 GB, free: 380 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.003517, allocations: 4.375 kB / 0.983 GB, free: 376 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.003523, allocations: 12 kB / 0.9831 GB, free: 364 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.165e-05/0.003564, allocations: 15.98 kB / 0.9831 GB, free: 348 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001351/0.003699, allocations: 144.7 kB / 0.9832 GB, free: 160 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 9.107e-05/0.00379, allocations: 58.55 kB / 0.9833 GB, free: 92 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.203e-05/0.003822, allocations: 28.84 kB / 0.9833 GB, free: 60 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003584/0.004181, allocations: 71.97 kB / 0.9834 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.004203, allocations: 38.56 kB / 0.9834 GB, free: 15.94 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.004205, allocations: 3.938 kB / 0.9834 GB, free: 15.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0007996/0.005004, allocations: 443.5 kB / 0.9838 GB, free: 15.45 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.00503, allocations: 51.41 kB / 0.9839 GB, free: 15.39 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.779e-05/0.005078, allocations: 101.8 kB / 0.984 GB, free: 15.28 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.005088, allocations: 29.8 kB / 0.984 GB, free: 15.24 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.418e-05/0.005112, allocations: 92.02 kB / 0.9841 GB, free: 15.15 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.005144, allocations: 43.64 kB / 0.9841 GB, free: 15.11 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.005177, allocations: 25.72 kB / 0.9842 GB, free: 15.07 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.997e-05/0.005247, allocations: 318.8 kB / 0.9845 GB, free: 14.75 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.105e-05/0.005278, allocations: 20 kB / 0.9845 GB, free: 14.73 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.852e-05/0.005307, allocations: 21.73 kB / 0.9845 GB, free: 14.71 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.525e-05/0.005372, allocations: 52.86 kB / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.005373, allocations: 0 / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001096/0.005482, allocations: 108.7 kB / 0.9847 GB, free: 14.55 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.005495, allocations: 7.938 kB / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.005498, allocations: 0 / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.00551, allocations: 4 kB / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.763e-05/0.005587, allocations: 27.98 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.005592, allocations: 3.938 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.378e-05/0.005606, allocations: 0 / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-06/0.005614, allocations: 8 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB 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 5.39e-05/0.005668, allocations: 113.8 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.005683, allocations: 3.938 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.005813, allocations: 110 kB / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.005814, allocations: 0 / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.005817, allocations: 0 / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.005821, allocations: 8 kB / 0.9849 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/0.006109, allocations: 325.7 kB / 0.9852 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.00611, allocations: 0 / 0.9852 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.969e-05/0.00618, allocations: 20 kB / 0.9853 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.006183, allocations: 3.984 kB / 0.9853 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-06/0.00619, allocations: 4 kB / 0.9853 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.006192, allocations: 0 / 0.9853 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.006193, allocations: 4 kB / 0.9853 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.006367, allocations: 219.4 kB / 0.9855 GB, free: 13.63 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.068e-05/0.006388, allocations: 11.97 kB / 0.9855 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.006399, allocations: 4 kB / 0.9855 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.538e-05/0.006445, allocations: 12 kB / 0.9855 GB, free: 13.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.6e-05/0.006461, allocations: 7.984 kB / 0.9855 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.006466, allocations: 4.188 kB / 0.9855 GB, free: 13.59 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.41e-05/0.006491, allocations: 87.25 kB / 0.9856 GB, free: 13.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006491, allocations: 0 / 0.9856 GB, free: 13.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001961/0.006687, allocations: 43.88 kB / 0.9856 GB, free: 13.46 MB / 0.948 GB 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.0004431/0.00713, allocations: 0.7987 MB / 0.9864 GB, free: 12.63 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001047/0.007234, allocations: 51.98 kB / 0.9865 GB, free: 12.58 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.007236, allocations: 0 / 0.9865 GB, free: 12.58 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.291e-05/0.007269, allocations: 39.98 kB / 0.9865 GB, free: 12.54 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.007425, allocations: 2.812 kB / 0.9865 GB, free: 12.54 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009945/0.008419, allocations: 1.39 MB / 0.9879 GB, free: 11.07 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.502e-05/0.008464, allocations: 76.36 kB / 0.9879 GB, free: 10.98 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.649e-05/0.008501, allocations: 11.92 kB / 0.988 GB, free: 10.96 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.522e-05/0.008536, allocations: 28.56 kB / 0.988 GB, free: 10.94 MB / 0.948 GB Notification: Performance of SimCode: time 4.71e-07/0.008537, allocations: 0 / 0.988 GB, free: 10.94 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/0.02597, allocations: 3.124 MB / 0.991 GB, free: 7.98 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.916/6.942, allocations: 1.5 kB / 0.991 GB, free: 7.98 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 10.86942664347589] Failed to read output from testmodel.py, exit status != 0: 7.022776409983635 7.03109462 7.026411486 Calling exit ...