Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001916/0.001916, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.607/2.607, allocations: 443.5 MB / 0.7293 GB, free: 14.47 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 67.89 kB / 1.057 GB, free: 1.871 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.329, allocations: 160.7 MB / 1.214 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002044/0.3311, allocations: 0.787 MB / 1.215 GB, free: 48 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002304/0.3334, allocations: 1.482 MB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.612e-05/0.3334, allocations: 0 / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.808e-05/0.3335, allocations: 7.922 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.699e-05/0.3335, allocations: 3.938 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006095/0.3341, allocations: 143.5 kB / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.3342, allocations: 47.95 kB / 1.217 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.058e-05/0.3343, allocations: 4 kB / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.288e-05/0.3344, allocations: 27.91 kB / 1.217 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.708e-05/0.3345, allocations: 35.84 kB / 1.217 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.3345, allocations: 8 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005152/0.335, allocations: 323.3 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.154e-05/0.335, allocations: 7.984 kB / 1.217 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.882e-05/0.3351, allocations: 31.8 kB / 1.217 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003675/0.3354, allocations: 211.4 kB / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3354, allocations: 0 / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3354, allocations: 0 / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.3354, allocations: 0 / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007226/0.3362, allocations: 416.9 kB / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3362, allocations: 8.031 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00047/0.3367, allocations: 72.86 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.3368, allocations: 172.3 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.3368, allocations: 4.375 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.3369, allocations: 8.375 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003897/0.3372, allocations: 117.6 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.3373, allocations: 0 / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.3373, allocations: 4 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3373, allocations: 4 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005158/0.3378, allocations: 103.9 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006105/0.3384, allocations: 328.7 kB / 1.218 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006912/0.3391, allocations: 158.4 kB / 1.218 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002602/0.3394, allocations: 52.97 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.3394, allocations: 3.984 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.3394, allocations: 42.55 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.3394, allocations: 0 / 1.219 GB, free: 12.09 MB / 0.9669 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01909/0.3585, allocations: 2.826 MB / 1.221 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.3586, allocations: 59.28 kB / 1.221 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.3587, allocations: 102 kB / 1.221 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.545e-05/0.3587, allocations: 29.64 kB / 1.222 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.461e-05/0.3588, allocations: 100 kB / 1.222 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.01e-05/0.3589, allocations: 43.69 kB / 1.222 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/0.3591, allocations: 65.58 kB / 1.222 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3592, allocations: 318.8 kB / 1.222 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007304/0.3599, allocations: 191.8 kB / 1.222 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007263/0.3607, allocations: 195.8 kB / 1.222 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.3621, allocations: 384.5 kB / 1.223 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3621, allocations: 0 / 1.223 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001735/0.3639, allocations: 489.2 kB / 1.223 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.3639, allocations: 4 kB / 1.223 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.3639, allocations: 192 / 1.223 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.3639, allocations: 0 / 1.223 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008728/0.3648, allocations: 111.8 kB / 1.223 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.3648, allocations: 3.938 kB / 1.223 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006319/0.3654, allocations: 43.92 kB / 1.223 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.428e-05/0.3655, allocations: 23.94 kB / 1.223 GB, free: 6.992 MB / 0.9669 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 0.0001841/0.3657, allocations: 121.8 kB / 1.224 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.155e-05/0.3658, allocations: 11.95 kB / 1.224 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.895e-05/0.3658, allocations: 7.969 kB / 1.224 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3658, allocations: 0 / 1.224 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.3658, allocations: 7.875 kB / 1.224 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3658, allocations: 0 / 1.224 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002496/0.3683, allocations: 1.051 MB / 1.225 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3683, allocations: 0 / 1.225 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008529/0.3692, allocations: 103.8 kB / 1.225 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.3692, allocations: 7.938 kB / 1.225 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.837e-05/0.3693, allocations: 27.88 kB / 1.225 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.3693, allocations: 4 kB / 1.225 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3693, allocations: 0 / 1.225 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002596/0.3719, allocations: 0.7918 MB / 1.225 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.372, allocations: 116.9 kB / 1.226 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.904e-05/0.3721, allocations: 8 kB / 1.226 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006924/0.3728, allocations: 47.98 kB / 1.226 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.3729, allocations: 23.94 kB / 1.226 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.216e-05/0.3729, allocations: 31.92 kB / 1.226 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.306e-05/0.373, allocations: 75.28 kB / 1.226 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.373, allocations: 0 / 1.226 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004295/0.3734, allocations: 55.94 kB / 1.226 GB, free: 4.352 MB / 0.9669 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.0002978/0.3737, allocations: 115.1 kB / 1.226 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001652/0.3754, allocations: 419.5 kB / 1.226 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3754, allocations: 0 / 1.226 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007999/0.3762, allocations: 227.6 kB / 1.227 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.3767, allocations: 15.98 kB / 1.227 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00463/0.3813, allocations: 0.7918 MB / 1.227 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.3817, allocations: 0.6885 MB / 1.228 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004046/0.3821, allocations: 75.23 kB / 1.228 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of SimCode: time 9.22e-07/0.3821, allocations: 0 / 1.228 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of Templates: time 0.007748/0.3898, allocations: 3.784 MB / 1.232 GB, free: 14.18 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 11.191004917025566] Failed to read output from testmodel.py, exit status != 0: 0.39903967804275453 0.41311918400000003 0.07461590800000001 Calling exit ...