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.0007673/0.0007673, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.000815/0.000815, allocations: 173.9 kB / 22.46 MB, free: 2.086 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.8666/0.8666, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.659/1.659, allocations: 359 MB / 0.6037 GB, free: 11.1 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 1.263e-06/1.263e-06, allocations: 0 / 0.9506 GB, free: 3.469 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.323e-05/1.449e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.465 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001703/0.001717, allocations: 0.7762 MB / 0.9513 GB, free: 2.684 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.003241, allocations: 1.455 MB / 0.9527 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.051e-05/0.003272, allocations: 0 / 0.9527 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.82e-05/0.0033, allocations: 7.922 kB / 0.9527 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.728e-05/0.003337, allocations: 7.938 kB / 0.9528 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004162/0.003753, allocations: 143.4 kB / 0.9529 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.481e-05/0.003838, allocations: 51.89 kB / 0.9529 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.666e-05/0.003885, allocations: 8 kB / 0.9529 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 9.587e-05/0.003981, allocations: 35.89 kB / 0.953 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.299e-05/0.004034, allocations: 27.95 kB / 0.953 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.00405, allocations: 4 kB / 0.953 GB, free: 0.9297 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002515/0.004302, allocations: 255.4 kB / 0.9533 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.715e-05/0.004319, allocations: 7.984 kB / 0.9533 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.678e-05/0.004346, allocations: 23.91 kB / 0.9533 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0003244/0.00467, allocations: 219.5 kB / 0.9535 GB, free: 444 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.215e-06/0.004672, allocations: 0 / 0.9535 GB, free: 444 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.193e-06/0.004674, allocations: 7.875 kB / 0.9535 GB, free: 436 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.004678, allocations: 3.938 kB / 0.9535 GB, free: 432 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.000481/0.005159, allocations: 329.8 kB / 0.9538 GB, free: 72 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.0052, allocations: 8.031 kB / 0.9538 GB, free: 64 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.334e-05/0.005234, allocations: 42.73 kB / 0.9539 GB, free: 12 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002565/0.00549, allocations: 68.86 kB / 0.9539 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.198e-05/0.005562, allocations: 117.7 kB / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.005585, allocations: 4.375 kB / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.005605, allocations: 8.375 kB / 0.9541 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.00584, allocations: 161.6 kB / 0.9542 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.005849, allocations: 192 / 0.9542 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.005862, allocations: 8.125 kB / 0.9542 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.005869, allocations: 4 kB / 0.9542 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002411/0.00611, allocations: 99.83 kB / 0.9543 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/0.006515, allocations: 291.8 kB / 0.9546 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003368/0.006852, allocations: 162.4 kB / 0.9548 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.006968, allocations: 52.81 kB / 0.9548 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.006981, allocations: 0 / 0.9548 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.007005, allocations: 38.56 kB / 0.9548 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.007006, allocations: 0 / 0.9548 GB, free: 14.91 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.009214/0.01622, allocations: 2.691 MB / 0.9575 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.01625, allocations: 55.41 kB / 0.9575 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.721e-05/0.01631, allocations: 101.8 kB / 0.9576 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.01634, allocations: 29.7 kB / 0.9576 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.775e-05/0.01638, allocations: 92.03 kB / 0.9577 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.999e-05/0.01643, allocations: 35.69 kB / 0.9578 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.01653, allocations: 69.58 kB / 0.9578 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.446e-05/0.01661, allocations: 322.8 kB / 0.9581 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003625/0.01697, allocations: 199.7 kB / 0.9583 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003624/0.01733, allocations: 187.8 kB / 0.9585 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007479/0.01808, allocations: 388.5 kB / 0.9589 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.01808, allocations: 0 / 0.9589 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008923/0.01897, allocations: 481.3 kB / 0.9593 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.01899, allocations: 10.03 kB / 0.9593 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.019, allocations: 0 / 0.9593 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.01902, allocations: 3.938 kB / 0.9594 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004064/0.01942, allocations: 111.7 kB / 0.9595 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.01943, allocations: 4 kB / 0.9595 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002679/0.0197, allocations: 51.97 kB / 0.9595 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.01973, allocations: 27.88 kB / 0.9595 GB, free: 9.984 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.0001129/0.01984, allocations: 109.8 kB / 0.9596 GB, free: 9.867 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.483e-05/0.0199, allocations: 7.953 kB / 0.9597 GB, free: 9.859 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.608e-05/0.01994, allocations: 20.11 kB / 0.9597 GB, free: 9.836 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.01995, allocations: 0 / 0.9597 GB, free: 9.836 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.01995, allocations: 0 / 0.9597 GB, free: 9.836 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.01996, allocations: 0 / 0.9597 GB, free: 9.836 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.02127, allocations: 0.9914 MB / 0.9606 GB, free: 8.738 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.02127, allocations: 3.938 kB / 0.9606 GB, free: 8.734 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003677/0.02164, allocations: 103.8 kB / 0.9607 GB, free: 8.633 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.02164, allocations: 0 / 0.9607 GB, free: 8.633 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.233e-05/0.02167, allocations: 27.92 kB / 0.9608 GB, free: 8.605 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.237e-06/0.02167, allocations: 7.938 kB / 0.9608 GB, free: 8.598 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.02167, allocations: 320 / 0.9608 GB, free: 8.598 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.02297, allocations: 0.7919 MB / 0.9615 GB, free: 7.789 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.265e-05/0.02307, allocations: 39.84 kB / 0.9616 GB, free: 7.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.0231, allocations: 4 kB / 0.9616 GB, free: 7.746 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003068/0.02341, allocations: 47.94 kB / 0.9616 GB, free: 7.699 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.234e-05/0.02347, allocations: 31.92 kB / 0.9617 GB, free: 7.668 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.02351, allocations: 27.92 kB / 0.9617 GB, free: 7.641 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.716e-05/0.02353, allocations: 79.28 kB / 0.9618 GB, free: 7.562 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02353, allocations: 0 / 0.9618 GB, free: 7.562 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002441/0.02378, allocations: 55.88 kB / 0.9618 GB, free: 7.508 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.001581/0.02536, allocations: 1.339 MB / 0.9631 GB, free: 6.148 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0007996/0.02616, allocations: 411.5 kB / 0.9635 GB, free: 5.746 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.02616, allocations: 0 / 0.9635 GB, free: 5.746 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003863/0.02655, allocations: 231.7 kB / 0.9637 GB, free: 5.52 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.02684, allocations: 23.88 kB / 0.9638 GB, free: 5.496 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004786/0.03162, allocations: 2.935 MB / 0.9666 GB, free: 2.473 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.919e-05/0.03167, allocations: 75.08 kB / 0.9667 GB, free: 2.379 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003009/0.03197, allocations: 96.8 kB / 0.9668 GB, free: 2.285 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.03217, allocations: 68.36 kB / 0.9669 GB, free: 2.219 MB / 0.9167 GB Notification: Performance of SimCode: time 5.61e-07/0.03217, allocations: 0 / 0.9669 GB, free: 2.219 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01684/0.04901, allocations: 5.471 MB / 0.9722 GB, free: 12.89 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.904/6.953, allocations: 2.906 kB / 0.9722 GB, free: 12.89 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --stepSize=0.0012 --timeout=400 --tolerance=1e-08 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: 10.792115710675716] Failed to read output from testmodel.py, exit status != 0: 7.037540568970144 7.050550266 7.043452182 Calling exit ...