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.002236/0.002236, allocations: 110.6 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.002561/0.002561, allocations: 191.8 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.468/1.468, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.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.6/2.6, allocations: 443.5 MB / 0.7287 GB, free: 13.22 MB / 0.5919 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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_10_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_10_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.003432/0.003432, allocations: 63.91 kB / 1.056 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8916/0.8951, allocations: 160.7 MB / 1.213 GB, free: 3.82 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002797/0.8979, allocations: 0.8052 MB / 1.214 GB, free: 3.215 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002292/0.9002, allocations: 1.473 MB / 1.215 GB, free: 2.027 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.855e-05/0.9002, allocations: 0 / 1.215 GB, free: 2.027 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.21e-05/0.9002, allocations: 7.922 kB / 1.215 GB, free: 2.02 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.612e-05/0.9003, allocations: 4.875 kB / 1.215 GB, free: 2.016 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006124/0.9009, allocations: 144.6 kB / 1.215 GB, free: 1.918 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.901, allocations: 51.8 kB / 1.215 GB, free: 1.891 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.727e-05/0.9011, allocations: 2.25 kB / 1.215 GB, free: 1.891 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.544e-05/0.9012, allocations: 35.17 kB / 1.215 GB, free: 1.867 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.417e-05/0.9012, allocations: 41.72 kB / 1.215 GB, free: 1.836 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.9012, allocations: 4.156 kB / 1.215 GB, free: 1.836 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004957/0.9017, allocations: 315 kB / 1.216 GB, free: 1.656 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.382e-05/0.9018, allocations: 14.62 kB / 1.216 GB, free: 1.645 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.896e-05/0.9018, allocations: 26.27 kB / 1.216 GB, free: 1.625 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003744/0.9022, allocations: 209 kB / 1.216 GB, free: 1.512 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.9022, allocations: 0.9688 kB / 1.216 GB, free: 1.512 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9022, allocations: 0 / 1.216 GB, free: 1.512 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.9022, allocations: 0 / 1.216 GB, free: 1.512 MB / 0.92 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.0007314/0.9029, allocations: 414.1 kB / 1.216 GB, free: 1.09 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.903, allocations: 10.39 kB / 1.216 GB, free: 1.09 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.82e-05/0.903, allocations: 32.91 kB / 1.216 GB, free: 1.051 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000459/0.9035, allocations: 73.28 kB / 1.217 GB, free: 1.02 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.9036, allocations: 175.3 kB / 1.217 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.9037, allocations: 3.594 kB / 1.217 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.245e-05/0.9037, allocations: 12.66 kB / 1.217 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000379/0.9041, allocations: 113.7 kB / 1.217 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.9041, allocations: 0 / 1.217 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.9041, allocations: 5.094 kB / 1.217 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.9041, allocations: 2.281 kB / 1.217 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004636/0.9046, allocations: 98.52 kB / 1.217 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006516/0.9052, allocations: 333.6 kB / 1.217 GB, free: 360 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006318/0.9059, allocations: 158.4 kB / 1.217 GB, free: 272 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/0.9061, allocations: 57.94 kB / 1.217 GB, free: 240 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.9061, allocations: 4.969 kB / 1.217 GB, free: 236 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.9061, allocations: 31.62 kB / 1.217 GB, free: 196 kB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.9061, allocations: 0 / 1.217 GB, free: 196 kB / 0.92 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.01842/0.9246, allocations: 2.831 MB / 1.22 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.9246, allocations: 56.44 kB / 1.22 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.9247, allocations: 107.4 kB / 1.22 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.707e-05/0.9248, allocations: 30.86 kB / 1.22 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.505e-05/0.9248, allocations: 94.28 kB / 1.22 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.688e-05/0.9249, allocations: 43.88 kB / 1.221 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/0.9251, allocations: 68.83 kB / 1.221 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.9252, allocations: 316.7 kB / 1.221 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006703/0.9259, allocations: 197 kB / 1.221 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006551/0.9266, allocations: 194 kB / 1.221 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.9279, allocations: 392.9 kB / 1.222 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.9279, allocations: 0 / 1.222 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00154/0.9294, allocations: 480.7 kB / 1.222 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.9294, allocations: 4.438 kB / 1.222 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.9295, allocations: 1.375 kB / 1.222 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.9295, allocations: 4 kB / 1.222 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000835/0.9303, allocations: 113.2 kB / 1.222 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.9303, allocations: 5.203 kB / 1.222 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006002/0.9309, allocations: 50.28 kB / 1.222 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.547e-05/0.931, allocations: 21.88 kB / 1.222 GB, free: 13.04 MB / 0.9356 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.000164/0.9311, allocations: 114.7 kB / 1.222 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.262e-05/0.9312, allocations: 7.078 kB / 1.222 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.854e-05/0.9313, allocations: 13.5 kB / 1.222 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.9313, allocations: 5.188 kB / 1.222 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.9313, allocations: 3.984 kB / 1.222 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.9313, allocations: 0 / 1.222 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002332/0.9336, allocations: 1.044 MB / 1.223 GB, free: 12 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.9336, allocations: 1.156 kB / 1.223 GB, free: 12 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008392/0.9345, allocations: 108.4 kB / 1.224 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.9345, allocations: 1.094 kB / 1.224 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-05/0.9346, allocations: 28.77 kB / 1.224 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.9346, allocations: 1.5 kB / 1.224 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.9346, allocations: 0 / 1.224 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002342/0.9369, allocations: 0.794 MB / 1.224 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001875/0.9371, allocations: 119.5 kB / 1.224 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.777e-05/0.9372, allocations: 5.406 kB / 1.224 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006766/0.9378, allocations: 47.19 kB / 1.225 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.991e-05/0.9379, allocations: 26.55 kB / 1.225 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.174e-05/0.938, allocations: 25.47 kB / 1.225 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.223e-05/0.938, allocations: 83.2 kB / 1.225 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.938, allocations: 0 / 1.225 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003982/0.9384, allocations: 55.38 kB / 1.225 GB, free: 11.15 MB / 0.9356 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.002838/0.9413, allocations: 1.344 MB / 1.226 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00146/0.9427, allocations: 414.3 kB / 1.226 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.9427, allocations: 0 / 1.226 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007318/0.9435, allocations: 230.9 kB / 1.227 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.9439, allocations: 18.73 kB / 1.227 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009001/0.9529, allocations: 2.95 MB / 1.23 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.9532, allocations: 0.6923 MB / 1.23 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0005435/0.9538, allocations: 92.66 kB / 1.23 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/0.954, allocations: 63.3 kB / 1.23 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of SimCode: time 9.62e-07/0.954, allocations: 4 kB / 1.23 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03045/0.9845, allocations: 4.586 MB / 1.235 GB, free: 1.359 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.243/9.228, allocations: 17.23 kB / 1.235 GB, free: 1.344 MB / 0.9356 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --stepSize=0.0012 --timeout=400 --tolerance=1e-08 Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.102083543781191] Failed to read output from testmodel.py, exit status != 0: 9.304061971139163 9.32157464 8.416058313 Calling exit ...