Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.0007811/0.0007811, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008316/0.0008316, allocations: 169.9 kB / 23.21 MB, free: 1.355 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.877/0.877, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5504/0.5504, allocations: 114 MB / 373.9 MB, free: 8.699 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 0.5543 GB, free: 2.715 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.029e-05/3.296e-05, allocations: 6.281 kB / 0.5543 GB, free: 2.707 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001281/0.001314, allocations: 0.594 MB / 0.5548 GB, free: 2.121 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001443/0.002757, allocations: 1.427 MB / 0.5562 GB, free: 0.6758 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.346e-05/0.00278, allocations: 0 / 0.5562 GB, free: 0.6758 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.593e-05/0.002796, allocations: 3.938 kB / 0.5562 GB, free: 0.6719 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 2.454e-05/0.002821, allocations: 0 / 0.5562 GB, free: 0.6719 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004363/0.003257, allocations: 147.4 kB / 0.5564 GB, free: 0.5273 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.384e-05/0.003321, allocations: 23.98 kB / 0.5564 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.489e-05/0.003366, allocations: 7.969 kB / 0.5564 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.66e-05/0.003422, allocations: 23.92 kB / 0.5564 GB, free: 484 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.043e-05/0.003493, allocations: 23.97 kB / 0.5565 GB, free: 460 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.00351, allocations: 0 / 0.5565 GB, free: 460 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000258/0.003768, allocations: 247.4 kB / 0.5567 GB, free: 212 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.003785, allocations: 11.98 kB / 0.5567 GB, free: 200 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.003807, allocations: 11.97 kB / 0.5567 GB, free: 188 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002658/0.004073, allocations: 195.6 kB / 0.5569 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.004077, allocations: 8 kB / 0.5569 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.493e-06/0.004078, allocations: 0 / 0.5569 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.004083, allocations: 0 / 0.5569 GB, free: 15.98 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000422/0.004506, allocations: 289.8 kB / 0.5572 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.004544, allocations: 15.97 kB / 0.5572 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.069e-05/0.004575, allocations: 34.73 kB / 0.5572 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002374/0.004813, allocations: 72.75 kB / 0.5573 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.819e-05/0.004901, allocations: 113.8 kB / 0.5574 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.004924, allocations: 4.375 kB / 0.5574 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.004943, allocations: 4.375 kB / 0.5574 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.005111, allocations: 99.91 kB / 0.5575 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.005117, allocations: 192 / 0.5575 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.005127, allocations: 4.125 kB / 0.5575 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.005131, allocations: 0 / 0.5575 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.005277, allocations: 67.92 kB / 0.5576 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001286/0.005406, allocations: 128.8 kB / 0.5577 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/0.005737, allocations: 122.5 kB / 0.5578 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.166e-05/0.005819, allocations: 48.91 kB / 0.5579 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002315/0.006051, allocations: 71.91 kB / 0.5579 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.00607, allocations: 34.56 kB / 0.558 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.006071, allocations: 0 / 0.558 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5): time 0.0006772/0.006748, allocations: 329 kB / 0.5583 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.006777, allocations: 59.41 kB / 0.5583 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.398e-05/0.006821, allocations: 97.84 kB / 0.5584 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.006833, allocations: 25.7 kB / 0.5585 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.623e-05/0.00686, allocations: 80.14 kB / 0.5585 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.006888, allocations: 23.8 kB / 0.5586 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.00692, allocations: 21.7 kB / 0.5586 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.835e-05/0.006999, allocations: 314.8 kB / 0.5589 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.712e-05/0.007076, allocations: 40.03 kB / 0.5589 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.872e-05/0.007145, allocations: 31.97 kB / 0.5589 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.007289, allocations: 76.8 kB / 0.559 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.00729, allocations: 0 / 0.559 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001792/0.007469, allocations: 113.6 kB / 0.5591 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.007481, allocations: 4 kB / 0.5591 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.007488, allocations: 7.938 kB / 0.5591 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.007499, allocations: 0 / 0.5591 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.538e-05/0.007565, allocations: 27.91 kB / 0.5592 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.007569, allocations: 7.938 kB / 0.5592 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.108e-05/0.00761, allocations: 12.23 kB / 0.5592 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.007618, allocations: 4 kB / 0.5592 GB, free: 13.42 MB / 0.5261 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 (6): * Single equations (assignments): 6 * 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 5.547e-05/0.007673, allocations: 113.8 kB / 0.5593 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.065e-06/0.007682, allocations: 0 / 0.5593 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002422/0.007924, allocations: 137.3 kB / 0.5594 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.007925, allocations: 7.938 kB / 0.5594 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.007929, allocations: 0 / 0.5594 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.007932, allocations: 0 / 0.5594 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.43e-05/0.008016, allocations: 137.1 kB / 0.5596 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.008017, allocations: 0 / 0.5596 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-05/0.008086, allocations: 31.91 kB / 0.5596 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.008088, allocations: 0 / 0.5596 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.008096, allocations: 7.938 kB / 0.5596 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.008097, allocations: 0 / 0.5596 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.008098, allocations: 0 / 0.5596 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002869/0.008385, allocations: 189 kB / 0.5598 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.481e-05/0.00842, allocations: 8.016 kB / 0.5598 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.008433, allocations: 3.938 kB / 0.5598 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.733e-05/0.00848, allocations: 15.97 kB / 0.5598 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.846e-05/0.008499, allocations: 8.062 kB / 0.5598 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.008505, allocations: 4 kB / 0.5598 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.238e-05/0.008527, allocations: 83.27 kB / 0.5599 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.008527, allocations: 0 / 0.5599 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001496/0.008677, allocations: 27.88 kB / 0.5599 GB, free: 12.59 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0005121/0.009189, allocations: 0.749 MB / 0.5607 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001895/0.009378, allocations: 84.12 kB / 0.5607 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.00938, allocations: 3.938 kB / 0.5607 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.538e-05/0.009455, allocations: 48.08 kB / 0.5608 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001096/0.009565, allocations: 6.344 kB / 0.5608 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.01068, allocations: 1.364 MB / 0.5621 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.641e-05/0.01073, allocations: 67.34 kB / 0.5622 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.722e-05/0.01079, allocations: 16 kB / 0.5622 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.753e-05/0.01084, allocations: 20.48 kB / 0.5622 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of SimCode: time 4.8e-07/0.01084, allocations: 0 / 0.5622 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01433/0.02517, allocations: 2.74 MB / 0.5649 GB, free: 7.516 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.348/7.374, allocations: 9.984 kB / 0.5649 GB, free: 7.512 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.791730615310371] Failed to read output from testmodel.py, exit status != 0: 7.4573586396873 7.468108293 7.46218133 Calling exit ...