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.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.001867/0.001867, allocations: 109.8 kB / 16.46 MB, free: 6.035 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.00211/0.00211, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.476/1.476, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.807/2.807, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> 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 0.002011/0.002011, allocations: 71.89 kB / 1.104 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7934/0.7954, allocations: 168.7 MB / 1.269 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002074/0.7975, allocations: 0.791 MB / 1.27 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001968/0.7995, allocations: 1.479 MB / 1.271 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.167e-05/0.7995, allocations: 0 / 1.271 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.961e-05/0.7995, allocations: 7.922 kB / 1.271 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.29e-05/0.7996, allocations: 3.938 kB / 1.271 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004971/0.8001, allocations: 139.5 kB / 1.271 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.8002, allocations: 47.94 kB / 1.271 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.115e-05/0.8002, allocations: 7.984 kB / 1.271 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.49e-05/0.8003, allocations: 27.92 kB / 1.271 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.684e-05/0.8003, allocations: 35.83 kB / 1.271 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.8004, allocations: 4 kB / 1.271 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000476/0.8008, allocations: 327.3 kB / 1.272 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.327e-05/0.8009, allocations: 15.97 kB / 1.272 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.277e-05/0.8009, allocations: 27.86 kB / 1.272 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000344/0.8012, allocations: 209.2 kB / 1.272 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.8012, allocations: 0 / 1.272 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.322e-06/0.8012, allocations: 0 / 1.272 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.8012, allocations: 0 / 1.272 GB, free: 2.074 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.0007068/0.802, allocations: 410.9 kB / 1.272 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.802, allocations: 12.03 kB / 1.272 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.948e-05/0.802, allocations: 34.75 kB / 1.272 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004788/0.8025, allocations: 76.84 kB / 1.272 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.8027, allocations: 172.3 kB / 1.272 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.8027, allocations: 8.312 kB / 1.273 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/0.8027, allocations: 8.375 kB / 1.273 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003845/0.8031, allocations: 121.6 kB / 1.273 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.8031, allocations: 0 / 1.273 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.8032, allocations: 8 kB / 1.273 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.8032, allocations: 0 / 1.273 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004918/0.8036, allocations: 99.91 kB / 1.273 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006145/0.8043, allocations: 332.7 kB / 1.273 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006599/0.8049, allocations: 158.4 kB / 1.273 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.8052, allocations: 52.81 kB / 1.273 GB, free: 460 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.8052, allocations: 0 / 1.273 GB, free: 460 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/0.8052, allocations: 38.56 kB / 1.273 GB, free: 412 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.8052, allocations: 0 / 1.273 GB, free: 412 kB / 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.01938/0.8246, allocations: 2.84 MB / 1.276 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.8247, allocations: 55.34 kB / 1.276 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.247e-05/0.8247, allocations: 105.8 kB / 1.276 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.284e-05/0.8248, allocations: 29.7 kB / 1.276 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.319e-05/0.8249, allocations: 88.09 kB / 1.276 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.555e-05/0.8249, allocations: 47.62 kB / 1.276 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.8251, allocations: 69.58 kB / 1.276 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.8253, allocations: 310.8 kB / 1.277 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006966/0.826, allocations: 191.8 kB / 1.277 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006861/0.8266, allocations: 195.8 kB / 1.277 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/0.828, allocations: 391.5 kB / 1.277 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.828, allocations: 0 / 1.277 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001662/0.8297, allocations: 485.2 kB / 1.278 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.8297, allocations: 4 kB / 1.278 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.8297, allocations: 0 / 1.278 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.123e-05/0.8297, allocations: 0 / 1.278 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009158/0.8307, allocations: 115.7 kB / 1.278 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.8307, allocations: 320 / 1.278 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006349/0.8313, allocations: 43.94 kB / 1.278 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.425e-05/0.8314, allocations: 23.92 kB / 1.278 GB, free: 11.3 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.00023/0.8316, allocations: 122.3 kB / 1.278 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.677e-05/0.8317, allocations: 7.953 kB / 1.278 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.333e-05/0.8318, allocations: 11.97 kB / 1.278 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.8318, allocations: 3.938 kB / 1.278 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.8318, allocations: 0 / 1.278 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.8318, allocations: 7.984 kB / 1.278 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/0.8342, allocations: 1.043 MB / 1.279 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.8342, allocations: 3.938 kB / 1.279 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008386/0.835, allocations: 111.7 kB / 1.279 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.835, allocations: 4 kB / 1.279 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.034e-05/0.8351, allocations: 27.92 kB / 1.279 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/0.8351, allocations: 7.984 kB / 1.279 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.8351, allocations: 0 / 1.279 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002369/0.8375, allocations: 0.7878 MB / 1.28 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001829/0.8376, allocations: 120.9 kB / 1.28 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.835e-05/0.8377, allocations: 8 kB / 1.28 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006936/0.8384, allocations: 44 kB / 1.28 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.461e-05/0.8385, allocations: 27.92 kB / 1.28 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.936e-05/0.8386, allocations: 27.94 kB / 1.28 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.037e-05/0.8386, allocations: 79.41 kB / 1.28 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8386, allocations: 0 / 1.28 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003783/0.839, allocations: 55.98 kB / 1.281 GB, free: 8.652 MB / 0.9825 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.002773/0.8418, allocations: 1.341 MB / 1.282 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001461/0.8432, allocations: 427.6 kB / 1.282 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.8432, allocations: 0 / 1.282 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007226/0.8439, allocations: 219.7 kB / 1.282 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.8443, allocations: 8 kB / 1.282 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008989/0.8533, allocations: 2.958 MB / 1.285 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005579/0.8539, allocations: 0.6924 MB / 1.286 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0005484/0.8544, allocations: 84.67 kB / 1.286 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002741/0.8547, allocations: 63.3 kB / 1.286 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of SimCode: time 7.82e-07/0.8547, allocations: 4 kB / 1.286 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03201/0.8867, allocations: 4.596 MB / 1.291 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.377/9.264, allocations: 18.27 kB / 1.291 GB, free: 14.26 MB / 0.9981 GB " [Timeout remaining time 291] (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: 15.245914531406015] Failed to read output from testmodel.py, exit status != 0: 9.33494759304449 9.349660381 8.545485443 Calling exit ...