Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001408/0.001408, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001527/0.001527, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.494/1.494, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002513/0.002513, allocations: 290 kB / 309.8 MB, free: 3.43 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.071/1.071, allocations: 180.6 MB / 0.5337 GB, free: 12.35 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002869/0.002869, allocations: 103.8 kB / 0.7347 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5413/0.5442, allocations: 95.34 MB / 0.8278 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001861/0.546, allocations: 0.7937 MB / 0.8286 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.5477, allocations: 1.526 MB / 0.8301 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.644e-05/0.5477, allocations: 0 / 0.8301 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.416e-05/0.5477, allocations: 6 kB / 0.8301 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.167e-05/0.5478, allocations: 3.938 kB / 0.8301 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004846/0.5483, allocations: 152.5 kB / 0.8303 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.009e-05/0.5484, allocations: 50.53 kB / 0.8303 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.325e-05/0.5484, allocations: 10.27 kB / 0.8303 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.59e-05/0.5485, allocations: 25.95 kB / 0.8303 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.891e-05/0.5485, allocations: 32.83 kB / 0.8304 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.5486, allocations: 9.531 kB / 0.8304 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004357/0.549, allocations: 321.1 kB / 0.8307 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.549, allocations: 10.62 kB / 0.8307 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.43e-05/0.549, allocations: 31.11 kB / 0.8307 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003149/0.5494, allocations: 209.6 kB / 0.8309 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.5494, allocations: 2.781 kB / 0.8309 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5494, allocations: 0 / 0.8309 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.5494, allocations: 0 / 0.8309 GB, free: 1.102 MB / 0.5762 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.000595/0.55, allocations: 411.5 kB / 0.8313 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.55, allocations: 7.594 kB / 0.8313 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.967e-05/0.55, allocations: 1.656 kB / 0.8313 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.304e-05/0.55, allocations: 38.59 kB / 0.8314 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004707/0.5505, allocations: 69.39 kB / 0.8314 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.983e-05/0.5506, allocations: 176.6 kB / 0.8316 GB, free: 456 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.5506, allocations: 6.906 kB / 0.8316 GB, free: 452 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.5506, allocations: 7.578 kB / 0.8316 GB, free: 452 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003599/0.551, allocations: 121 kB / 0.8317 GB, free: 388 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.551, allocations: 0 / 0.8317 GB, free: 388 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.551, allocations: 2.625 kB / 0.8317 GB, free: 388 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.551, allocations: 0.6562 kB / 0.8317 GB, free: 388 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004922/0.5515, allocations: 103.3 kB / 0.8318 GB, free: 372 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004753/0.552, allocations: 328.5 kB / 0.8321 GB, free: 68 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006607/0.5527, allocations: 158.9 kB / 0.8323 GB, free: 16 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.5529, allocations: 53.73 kB / 0.8323 GB, free: 0 / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.5529, allocations: 2.625 kB / 0.8324 GB, free: 0 / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.736e-05/0.553, allocations: 39.16 kB / 0.8324 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.553, allocations: 0 / 0.8324 GB, free: 15.95 MB / 0.5919 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.01874/0.5717, allocations: 2.839 MB / 0.8352 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.5718, allocations: 58.48 kB / 0.8352 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.645e-05/0.5718, allocations: 108 kB / 0.8353 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.273e-05/0.5719, allocations: 25.7 kB / 0.8353 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.138e-05/0.5719, allocations: 89.62 kB / 0.8354 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.565e-05/0.572, allocations: 38.38 kB / 0.8355 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.5722, allocations: 76.38 kB / 0.8355 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.5723, allocations: 318.8 kB / 0.8358 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007052/0.573, allocations: 190.4 kB / 0.836 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000683/0.5737, allocations: 190 kB / 0.8362 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.5751, allocations: 391.8 kB / 0.8366 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.5751, allocations: 2.125 kB / 0.8366 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001647/0.5768, allocations: 484.6 kB / 0.837 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.5768, allocations: 5.469 kB / 0.837 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.5768, allocations: 0.6094 kB / 0.837 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.5768, allocations: 3.938 kB / 0.8371 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008714/0.5777, allocations: 107.5 kB / 0.8372 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.5777, allocations: 0.7031 kB / 0.8372 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000644/0.5783, allocations: 48.33 kB / 0.8372 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.936e-05/0.5784, allocations: 25.19 kB / 0.8372 GB, free: 14.09 MB / 0.5919 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.0001957/0.5786, allocations: 119.9 kB / 0.8373 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.055e-05/0.5787, allocations: 8.547 kB / 0.8373 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.047e-05/0.5788, allocations: 11.09 kB / 0.8374 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.5788, allocations: 5.188 kB / 0.8374 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.5788, allocations: 0 / 0.8374 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.5788, allocations: 5.016 kB / 0.8374 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002464/0.5812, allocations: 1.053 MB / 0.8384 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.5812, allocations: 4.641 kB / 0.8384 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008749/0.5821, allocations: 104.7 kB / 0.8385 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.5821, allocations: 0 / 0.8385 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.213e-05/0.5822, allocations: 23.02 kB / 0.8385 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.5822, allocations: 3.938 kB / 0.8385 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5822, allocations: 0 / 0.8385 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002531/0.5847, allocations: 0.7921 MB / 0.8393 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.5849, allocations: 120.7 kB / 0.8394 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.257e-05/0.585, allocations: 1.891 kB / 0.8394 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007756/0.5857, allocations: 52.36 kB / 0.8395 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.5858, allocations: 25.19 kB / 0.8395 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.188e-05/0.5859, allocations: 24.84 kB / 0.8395 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.291e-05/0.586, allocations: 78.95 kB / 0.8396 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.586, allocations: 0 / 0.8396 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004232/0.5864, allocations: 56.16 kB / 0.8396 GB, free: 12.75 MB / 0.5919 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.002951/0.5893, allocations: 1.345 MB / 0.841 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001639/0.591, allocations: 415.7 kB / 0.8414 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.591, allocations: 1.344 kB / 0.8414 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007967/0.5918, allocations: 223.7 kB / 0.8416 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.5922, allocations: 17.56 kB / 0.8416 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.6025, allocations: 2.955 MB / 0.8445 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.6028, allocations: 0.691 MB / 0.8451 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005299/0.6033, allocations: 89.28 kB / 0.8452 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003213/0.6037, allocations: 64.23 kB / 0.8453 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of SimCode: time 9.21e-07/0.6037, allocations: 7.938 kB / 0.8453 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02495/0.6286, allocations: 4.65 MB / 0.8498 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.367/8.995, allocations: 12.38 kB / 0.8499 GB, free: 7.43 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --stepSize=0.0012 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.03047662798781] Failed to read output from testmodel.py, exit status != 0: 9.11971475603059 9.135272185 8.582948167 Calling exit ...