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.0008643/0.0008643, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008576/0.0008576, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8519/0.8519, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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.001392/0.001392, allocations: 233 kB / 259.4 MB, free: 13.05 MB / 250.7 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 0.6685/0.6685, allocations: 138.4 MB / 454.3 MB, free: 1.66 MB / 362.7 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="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 0.6464 GB, free: 28.97 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.301e-05, allocations: 6.219 kB / 0.6464 GB, free: 28.96 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001339/0.001362, allocations: 0.7753 MB / 0.6471 GB, free: 28.39 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.002607, allocations: 1.451 MB / 0.6485 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.029e-05/0.002647, allocations: 1.156 kB / 0.6485 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.805e-05/0.002675, allocations: 3.938 kB / 0.6485 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 3.727e-05/0.002712, allocations: 3.938 kB / 0.6486 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004201/0.003132, allocations: 150.6 kB / 0.6487 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.901e-05/0.003211, allocations: 47.25 kB / 0.6487 GB, free: 27.1 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.736e-05/0.003259, allocations: 10.62 kB / 0.6488 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 8.099e-05/0.00334, allocations: 38.19 kB / 0.6488 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.564e-05/0.003385, allocations: 25.61 kB / 0.6488 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.003401, allocations: 4.938 kB / 0.6488 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002362/0.003637, allocations: 259.8 kB / 0.6491 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.003652, allocations: 13.33 kB / 0.6491 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.178e-05/0.003674, allocations: 14.77 kB / 0.6491 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.003909, allocations: 228 kB / 0.6493 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.003912, allocations: 0 / 0.6493 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.463e-06/0.003914, allocations: 0 / 0.6493 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.003919, allocations: 1.5 kB / 0.6493 GB, free: 26.77 MB / 0.5105 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.0004231/0.004342, allocations: 331.5 kB / 0.6496 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.004382, allocations: 13.84 kB / 0.6496 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.57e-05/0.004408, allocations: 37.38 kB / 0.6497 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002269/0.004635, allocations: 73.14 kB / 0.6497 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.606e-05/0.004701, allocations: 109.1 kB / 0.6498 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.004729, allocations: 7.844 kB / 0.6499 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.004753, allocations: 4.906 kB / 0.6499 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.004972, allocations: 169.2 kB / 0.65 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.004982, allocations: 192 / 0.65 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.004993, allocations: 5.719 kB / 0.65 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.004999, allocations: 5.469 kB / 0.65 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000234/0.005233, allocations: 105.5 kB / 0.6501 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/0.005602, allocations: 292.1 kB / 0.6504 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003199/0.005922, allocations: 159.5 kB / 0.6506 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.006031, allocations: 56.56 kB / 0.6506 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.006046, allocations: 1.219 kB / 0.6506 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.006062, allocations: 36.38 kB / 0.6507 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.006064, allocations: 1.094 kB / 0.6507 GB, free: 25.6 MB / 0.5105 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.008299/0.01436, allocations: 2.679 MB / 0.6533 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.01439, allocations: 56.47 kB / 0.6533 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.988e-05/0.01444, allocations: 99.19 kB / 0.6534 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.01447, allocations: 29.7 kB / 0.6534 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.605e-05/0.0145, allocations: 90.62 kB / 0.6535 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.503e-05/0.01454, allocations: 40.44 kB / 0.6536 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.869e-05/0.01464, allocations: 69.23 kB / 0.6536 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.019e-05/0.01467, allocations: 316.3 kB / 0.6539 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003493/0.01502, allocations: 193.3 kB / 0.6541 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.01537, allocations: 198.5 kB / 0.6543 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006872/0.01605, allocations: 396 kB / 0.6547 GB, free: 23.01 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.01605, allocations: 1.375 kB / 0.6547 GB, free: 23.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008121/0.01687, allocations: 483 kB / 0.6552 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.01689, allocations: 5.219 kB / 0.6552 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.01689, allocations: 1.281 kB / 0.6552 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.01691, allocations: 0 / 0.6552 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003855/0.01729, allocations: 118.3 kB / 0.6553 GB, free: 22.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.0173, allocations: 0 / 0.6553 GB, free: 22.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000249/0.01755, allocations: 46.06 kB / 0.6553 GB, free: 22.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.01758, allocations: 29.95 kB / 0.6553 GB, free: 22.64 MB / 0.5105 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.0001118/0.01769, allocations: 114.4 kB / 0.6555 GB, free: 22.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.1e-05/0.01775, allocations: 7.859 kB / 0.6555 GB, free: 22.52 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.183e-05/0.01779, allocations: 12.12 kB / 0.6555 GB, free: 22.51 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.01779, allocations: 2.438 kB / 0.6555 GB, free: 22.51 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.0178, allocations: 0 / 0.6555 GB, free: 22.51 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.0178, allocations: 0 / 0.6555 GB, free: 22.51 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.01898, allocations: 0.9958 MB / 0.6564 GB, free: 21.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01898, allocations: 0 / 0.6564 GB, free: 21.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003511/0.01933, allocations: 101.2 kB / 0.6565 GB, free: 21.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.01934, allocations: 5.219 kB / 0.6566 GB, free: 21.61 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/0.01937, allocations: 28.28 kB / 0.6566 GB, free: 21.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.01937, allocations: 9.328 kB / 0.6566 GB, free: 21.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01937, allocations: 0 / 0.6566 GB, free: 21.58 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.02059, allocations: 0.7867 MB / 0.6574 GB, free: 21.11 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.318e-05/0.02069, allocations: 39.23 kB / 0.6574 GB, free: 21.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.02072, allocations: 9.172 kB / 0.6574 GB, free: 21.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000281/0.021, allocations: 50.94 kB / 0.6574 GB, free: 21.04 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.02106, allocations: 26.2 kB / 0.6575 GB, free: 21.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.069e-05/0.02109, allocations: 30.25 kB / 0.6575 GB, free: 21 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.793e-05/0.02111, allocations: 82.77 kB / 0.6576 GB, free: 20.92 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.02111, allocations: 0 / 0.6576 GB, free: 20.92 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002637/0.02137, allocations: 55.25 kB / 0.6576 GB, free: 20.91 MB / 0.5105 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.001404/0.02278, allocations: 1.34 MB / 0.6589 GB, free: 19.89 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007812/0.02356, allocations: 416.7 kB / 0.6593 GB, free: 19.69 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.02356, allocations: 0 / 0.6593 GB, free: 19.69 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003542/0.02391, allocations: 220 kB / 0.6596 GB, free: 19.58 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.02423, allocations: 16.53 kB / 0.6596 GB, free: 19.57 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004031/0.02826, allocations: 2.936 MB / 0.6624 GB, free: 16.68 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.831e-05/0.0283, allocations: 75.33 kB / 0.6625 GB, free: 16.59 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002837/0.02858, allocations: 92.72 kB / 0.6626 GB, free: 16.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.02877, allocations: 64.36 kB / 0.6627 GB, free: 16.43 MB / 0.5105 GB Notification: Performance of SimCode: time 1.352e-06/0.02877, allocations: 4 kB / 0.6627 GB, free: 16.43 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01666/0.04543, allocations: 5.49 MB / 0.668 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.685/6.731, allocations: 6.828 kB / 0.668 GB, free: 11.11 MB / 0.5105 GB " [Timeout remaining time 653] (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: 9.349119422957301] Failed to read output from testmodel.py, exit status != 0: 6.808323621749878 6.814717106 6.809138899 Calling exit ...