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.001636/0.001636, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.002076/0.002076, allocations: 218.8 kB / 22.25 MB, free: 5.125 MB / 14.72 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 1.565/1.565, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.868/2.868, allocations: 476.7 MB / 0.7707 GB, free: 4.262 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 65.09 kB / 1.117 GB, free: 39.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3156, allocations: 170 MB / 1.283 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002177/0.3178, allocations: 0.7936 MB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002194/0.32, allocations: 1.553 MB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.514e-05/0.32, allocations: 4 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.821e-05/0.3201, allocations: 3.938 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.803e-05/0.3201, allocations: 0 / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005374/0.3206, allocations: 147.4 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.3207, allocations: 47.91 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.721e-05/0.3208, allocations: 4 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.06e-05/0.3209, allocations: 31.91 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.46e-05/0.3209, allocations: 31.84 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.3209, allocations: 4 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005024/0.3214, allocations: 319.3 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.065e-05/0.3215, allocations: 16 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.1e-05/0.3215, allocations: 27.84 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003579/0.3219, allocations: 207 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3219, allocations: 4 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.909e-06/0.3219, allocations: 3.984 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.3219, allocations: 0 / 1.287 GB, free: 8.219 MB / 0.9825 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.0006716/0.3225, allocations: 333.8 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3226, allocations: 8.031 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.606e-05/0.3226, allocations: 42.69 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004595/0.3231, allocations: 76.8 kB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.3232, allocations: 102.5 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.3232, allocations: 8.375 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.3233, allocations: 8.328 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003905/0.3237, allocations: 114.3 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.3237, allocations: 8 kB / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.3237, allocations: 0 / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.3237, allocations: 3.984 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004884/0.3242, allocations: 107.8 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006299/0.3248, allocations: 303.7 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006503/0.3255, allocations: 154.4 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/0.3257, allocations: 60.73 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.3257, allocations: 4 kB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.3258, allocations: 34.56 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.3258, allocations: 0 / 1.288 GB, free: 6.746 MB / 0.9825 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.01853/0.3443, allocations: 2.676 MB / 1.29 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.3443, allocations: 55.34 kB / 1.29 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.173e-05/0.3444, allocations: 97.86 kB / 1.291 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.693e-05/0.3445, allocations: 25.7 kB / 1.291 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.3446, allocations: 100.1 kB / 1.291 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.29e-05/0.3446, allocations: 39.64 kB / 1.291 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.3448, allocations: 73.52 kB / 1.291 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3449, allocations: 314.8 kB / 1.291 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006807/0.3456, allocations: 195.7 kB / 1.291 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006621/0.3463, allocations: 193.5 kB / 1.291 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.3477, allocations: 396.7 kB / 1.292 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3477, allocations: 0 / 1.292 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001566/0.3493, allocations: 478.9 kB / 1.292 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.3493, allocations: 8 kB / 1.292 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3493, allocations: 0 / 1.292 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.3494, allocations: 0 / 1.292 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008396/0.3502, allocations: 111.7 kB / 1.292 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.3502, allocations: 4 kB / 1.292 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000597/0.3508, allocations: 39.94 kB / 1.292 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.15e-05/0.3509, allocations: 27.94 kB / 1.293 GB, free: 1.844 MB / 0.9825 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.0001856/0.351, allocations: 117.8 kB / 1.293 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.254e-05/0.3511, allocations: 4 kB / 1.293 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.783e-05/0.3512, allocations: 8.062 kB / 1.293 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.3512, allocations: 7.938 kB / 1.293 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3512, allocations: 0 / 1.293 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3512, allocations: 0 / 1.293 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002399/0.3536, allocations: 1.034 MB / 1.294 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3536, allocations: 4 kB / 1.294 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008272/0.3544, allocations: 107.7 kB / 1.294 GB, free: 460 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.3544, allocations: 4 kB / 1.294 GB, free: 456 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.422e-05/0.3545, allocations: 19.94 kB / 1.294 GB, free: 436 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.3545, allocations: 80 / 1.294 GB, free: 436 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3545, allocations: 7.984 kB / 1.294 GB, free: 428 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002474/0.357, allocations: 0.7921 MB / 1.295 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.3571, allocations: 47.77 kB / 1.295 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.66e-05/0.3572, allocations: 0 / 1.295 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006813/0.3579, allocations: 52 kB / 1.295 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.358, allocations: 27.91 kB / 1.295 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.114e-05/0.3581, allocations: 24.12 kB / 1.295 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.638e-05/0.3581, allocations: 87.27 kB / 1.295 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3581, allocations: 0 / 1.295 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004031/0.3585, allocations: 51.94 kB / 1.295 GB, free: 15.32 MB / 0.9981 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.002914/0.3614, allocations: 1.348 MB / 1.296 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001485/0.3629, allocations: 423.6 kB / 1.297 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3629, allocations: 0 / 1.297 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007361/0.3637, allocations: 219.7 kB / 1.297 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.3641, allocations: 10.19 kB / 1.297 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009102/0.3732, allocations: 2.948 MB / 1.3 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.3735, allocations: 0.6889 MB / 1.3 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005166/0.374, allocations: 88.67 kB / 1.3 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002868/0.3743, allocations: 63.3 kB / 1.3 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of SimCode: time 1.042e-06/0.3743, allocations: 3.938 kB / 1.3 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03701/0.4113, allocations: 4.798 MB / 1.305 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.97, allocations: 6.812 kB / 1.305 GB, free: 4.75 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.682244962081313] Failed to read output from testmodel.py, exit status != 0: 12.60202690307051 12.09505859 11.770122688 Calling exit ...