Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_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.0007971/0.0007971, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007924/0.0007924, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8734/0.8734, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.733/1.733, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.InverseXDerivative_2_Check,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.9506 GB, free: 3.414 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.839e-05/3.05e-05, allocations: 6.219 kB / 0.9506 GB, free: 3.406 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002865/0.002896, allocations: 0.7763 MB / 0.9513 GB, free: 2.625 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002539/0.005435, allocations: 1.459 MB / 0.9527 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.394e-05/0.005489, allocations: 0 / 0.9527 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.367e-05/0.005532, allocations: 3.938 kB / 0.9528 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.679e-05/0.005589, allocations: 0 / 0.9528 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007359/0.006325, allocations: 151.3 kB / 0.9529 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.00644, allocations: 47.89 kB / 0.9529 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 5.686e-05/0.006497, allocations: 7.938 kB / 0.9529 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.006618, allocations: 39.91 kB / 0.953 GB, free: 0.9023 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.447e-05/0.006692, allocations: 27.94 kB / 0.953 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.006716, allocations: 4 kB / 0.953 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000428/0.007144, allocations: 243.5 kB / 0.9532 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.163e-05/0.007176, allocations: 19.91 kB / 0.9533 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.909e-05/0.007215, allocations: 15.98 kB / 0.9533 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0004075/0.007622, allocations: 227.3 kB / 0.9535 GB, free: 384 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.007631, allocations: 4 kB / 0.9535 GB, free: 380 kB / 0.9011 GB Notification: Performance of FrontEnd: time 2.786e-06/0.007634, allocations: 0 / 0.9535 GB, free: 380 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.007641, allocations: 3.938 kB / 0.9535 GB, free: 376 kB / 0.9011 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.0007719/0.008413, allocations: 333.8 kB / 0.9538 GB, free: 12 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.491e-05/0.008478, allocations: 8.031 kB / 0.9538 GB, free: 4 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.138e-05/0.00856, allocations: 38.75 kB / 0.9539 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004273/0.008987, allocations: 68.84 kB / 0.9539 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.009118, allocations: 117.6 kB / 0.954 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.614e-05/0.009164, allocations: 8.375 kB / 0.9541 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.009195, allocations: 4.375 kB / 0.9541 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003707/0.009566, allocations: 169.6 kB / 0.9542 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.00958, allocations: 4.188 kB / 0.9542 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.009598, allocations: 4.125 kB / 0.9542 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.009606, allocations: 3.984 kB / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003945/0.01, allocations: 103.9 kB / 0.9543 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006281/0.01063, allocations: 291.7 kB / 0.9546 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005466/0.01117, allocations: 150.4 kB / 0.9548 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.01137, allocations: 64.8 kB / 0.9548 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.01139, allocations: 4 kB / 0.9548 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.01142, allocations: 34.56 kB / 0.9549 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 2.214e-06/0.01143, allocations: 3.938 kB / 0.9549 GB, free: 14.84 MB / 0.9167 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.0104/0.02182, allocations: 2.684 MB / 0.9575 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.02186, allocations: 55.41 kB / 0.9575 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.184e-05/0.02192, allocations: 101.9 kB / 0.9576 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.02196, allocations: 25.7 kB / 0.9577 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.154e-05/0.022, allocations: 92.08 kB / 0.9577 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.367e-05/0.02205, allocations: 39.69 kB / 0.9578 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003782/0.02243, allocations: 69.58 kB / 0.9578 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.867e-05/0.02251, allocations: 318.8 kB / 0.9581 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.02289, allocations: 187.8 kB / 0.9583 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003759/0.02326, allocations: 202.9 kB / 0.9585 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007771/0.02404, allocations: 392.5 kB / 0.9589 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.02404, allocations: 0 / 0.9589 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009271/0.02497, allocations: 485.2 kB / 0.9594 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.02499, allocations: 4 kB / 0.9594 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.02499, allocations: 0 / 0.9594 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.02501, allocations: 4 kB / 0.9594 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003961/0.02541, allocations: 103.8 kB / 0.9595 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.02541, allocations: 0 / 0.9595 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.02569, allocations: 47.97 kB / 0.9595 GB, free: 9.961 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.462e-05/0.02572, allocations: 31.88 kB / 0.9595 GB, free: 9.93 MB / 0.9167 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.00012/0.02584, allocations: 121.8 kB / 0.9597 GB, free: 9.801 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.171e-05/0.02589, allocations: 7.953 kB / 0.9597 GB, free: 9.793 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.107e-05/0.02593, allocations: 8.125 kB / 0.9597 GB, free: 9.781 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.02594, allocations: 4 kB / 0.9597 GB, free: 9.777 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.02594, allocations: 0 / 0.9597 GB, free: 9.777 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.02594, allocations: 0 / 0.9597 GB, free: 9.777 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.0273, allocations: 0.9914 MB / 0.9606 GB, free: 8.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.0273, allocations: 0 / 0.9606 GB, free: 8.68 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000379/0.02768, allocations: 111.7 kB / 0.9608 GB, free: 8.57 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.02769, allocations: 4 kB / 0.9608 GB, free: 8.566 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.143e-05/0.02772, allocations: 19.94 kB / 0.9608 GB, free: 8.547 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.02772, allocations: 3.938 kB / 0.9608 GB, free: 8.543 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.02772, allocations: 320 / 0.9608 GB, free: 8.543 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.0291, allocations: 0.7958 MB / 0.9616 GB, free: 7.73 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.0292, allocations: 43.95 kB / 0.9616 GB, free: 7.688 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.74e-05/0.02924, allocations: 0 / 0.9616 GB, free: 7.688 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003015/0.02954, allocations: 47.88 kB / 0.9616 GB, free: 7.641 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.14e-05/0.02961, allocations: 36.09 kB / 0.9617 GB, free: 7.605 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.194e-05/0.02964, allocations: 23.94 kB / 0.9617 GB, free: 7.582 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.956e-05/0.02967, allocations: 83.27 kB / 0.9618 GB, free: 7.5 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.02967, allocations: 3.938 kB / 0.9618 GB, free: 7.496 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002677/0.02994, allocations: 55.94 kB / 0.9618 GB, free: 7.441 MB / 0.9167 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.00166/0.0316, allocations: 1.333 MB / 0.9631 GB, free: 6.082 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0008553/0.03245, allocations: 419.5 kB / 0.9635 GB, free: 5.672 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.03245, allocations: 0 / 0.9635 GB, free: 5.672 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004062/0.03286, allocations: 219.7 kB / 0.9637 GB, free: 5.457 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.03317, allocations: 24.52 kB / 0.9638 GB, free: 5.438 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005268/0.03844, allocations: 2.938 MB / 0.9666 GB, free: 2.418 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.473e-05/0.03849, allocations: 79.08 kB / 0.9667 GB, free: 2.32 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.000317/0.03881, allocations: 96.7 kB / 0.9668 GB, free: 2.227 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/0.03901, allocations: 68.36 kB / 0.9669 GB, free: 2.16 MB / 0.9167 GB Notification: Performance of SimCode: time 1.032e-06/0.03901, allocations: 4 kB / 0.9669 GB, free: 2.156 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02028/0.05929, allocations: 5.472 MB / 0.9722 GB, free: 12.82 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.106/7.166, allocations: 1.719 kB / 0.9722 GB, free: 12.82 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv --start-time -1.5 --stop-time 1.5 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0012 Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 11.301085025072098] Failed to read output from testmodel.py, exit status != 0: 7.250161649659276 7.259519953 7.249075407 Calling exit ...