Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.002069/0.002069, allocations: 109.5 kB / 16.4 MB, free: 6.5 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.002373/0.002373, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.414/1.414, allocations: 222.9 MB / 245.1 MB, free: 15.03 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.563/2.563, allocations: 437.1 MB / 0.7171 GB, free: 4.117 MB / 0.5762 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.InverseXDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 79.88 kB / 1.027 GB, free: 12 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.771/0.773, allocations: 151.6 MB / 1.175 GB, free: 17.5 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001607/0.7746, allocations: 0.6009 MB / 1.175 GB, free: 17.14 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001478/0.7761, allocations: 1.449 MB / 1.177 GB, free: 16.08 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.31e-05/0.7762, allocations: 4 kB / 1.177 GB, free: 16.07 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.183e-05/0.7762, allocations: 5.469 kB / 1.177 GB, free: 16.07 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.988e-05/0.7762, allocations: 0 / 1.177 GB, free: 16.07 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004524/0.7767, allocations: 136.4 kB / 1.177 GB, free: 16.01 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.583e-05/0.7767, allocations: 34.66 kB / 1.177 GB, free: 16 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.907e-05/0.7768, allocations: 2.281 kB / 1.177 GB, free: 16 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.838e-05/0.7768, allocations: 17.14 kB / 1.177 GB, free: 16 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.165e-05/0.7769, allocations: 27.61 kB / 1.177 GB, free: 15.99 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.7769, allocations: 6.625 kB / 1.177 GB, free: 15.98 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004433/0.7774, allocations: 310.1 kB / 1.177 GB, free: 15.9 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.7774, allocations: 8.938 kB / 1.177 GB, free: 15.9 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.288e-05/0.7775, allocations: 14.19 kB / 1.177 GB, free: 15.89 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002983/0.7778, allocations: 189.2 kB / 1.177 GB, free: 15.84 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.7778, allocations: 0 / 1.177 GB, free: 15.84 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7778, allocations: 1 kB / 1.177 GB, free: 15.84 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.7778, allocations: 4.844 kB / 1.177 GB, free: 15.84 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000438/0.7782, allocations: 370.1 kB / 1.178 GB, free: 15.46 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.7783, allocations: 11.22 kB / 1.178 GB, free: 15.46 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.37e-05/0.7783, allocations: 35.34 kB / 1.178 GB, free: 15.41 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004395/0.7787, allocations: 66.45 kB / 1.178 GB, free: 15.41 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.484e-05/0.7788, allocations: 163.3 kB / 1.178 GB, free: 15.21 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.7789, allocations: 1.531 kB / 1.178 GB, free: 15.21 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.7789, allocations: 6.625 kB / 1.178 GB, free: 15.21 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.7791, allocations: 82.83 kB / 1.178 GB, free: 15.16 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.7791, allocations: 1.125 kB / 1.178 GB, free: 15.16 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.7792, allocations: 0 / 1.178 GB, free: 15.16 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.7792, allocations: 1.828 kB / 1.178 GB, free: 15.16 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002912/0.7795, allocations: 68.23 kB / 1.178 GB, free: 15.15 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001363/0.7796, allocations: 171.8 kB / 1.178 GB, free: 14.95 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005811/0.7802, allocations: 126.7 kB / 1.179 GB, free: 14.91 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.7804, allocations: 42.02 kB / 1.179 GB, free: 14.89 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004271/0.7808, allocations: 151.3 kB / 1.179 GB, free: 14.8 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.47e-05/0.7808, allocations: 40.42 kB / 1.179 GB, free: 14.75 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.7808, allocations: 0 / 1.179 GB, free: 14.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.001082/0.7819, allocations: 406.8 kB / 1.179 GB, free: 14.46 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.991e-05/0.782, allocations: 56.78 kB / 1.179 GB, free: 14.4 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.085e-05/0.782, allocations: 98.06 kB / 1.179 GB, free: 14.3 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.782, allocations: 25.7 kB / 1.179 GB, free: 14.27 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 1.158e-05/0.782, allocations: 81.45 kB / 1.179 GB, free: 14.18 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.7821, allocations: 23.06 kB / 1.179 GB, free: 14.16 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.7821, allocations: 22.41 kB / 1.179 GB, free: 14.14 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 3.452e-05/0.7821, allocations: 312.2 kB / 1.18 GB, free: 13.83 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.7823, allocations: 34.92 kB / 1.18 GB, free: 13.83 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.7825, allocations: 38.33 kB / 1.18 GB, free: 13.82 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/0.7828, allocations: 75.59 kB / 1.18 GB, free: 13.8 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.7828, allocations: 0 / 1.18 GB, free: 13.8 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003549/0.7831, allocations: 120.7 kB / 1.18 GB, free: 13.75 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.7832, allocations: 5.062 kB / 1.18 GB, free: 13.75 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.7832, allocations: 0 / 1.18 GB, free: 13.75 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.7832, allocations: 5.734 kB / 1.18 GB, free: 13.74 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.7833, allocations: 22.34 kB / 1.18 GB, free: 13.74 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.7833, allocations: 0 / 1.18 GB, free: 13.74 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.7835, allocations: 19.91 kB / 1.18 GB, free: 13.73 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.7835, allocations: 2.922 kB / 1.18 GB, free: 13.73 MB / 0.92 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 4.78e-05/0.7835, allocations: 113 kB / 1.18 GB, free: 13.62 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.53e-05/0.7835, allocations: 9.141 kB / 1.18 GB, free: 13.61 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004483/0.784, allocations: 137.7 kB / 1.18 GB, free: 13.54 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.784, allocations: 0 / 1.18 GB, free: 13.54 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.784, allocations: 1.469 kB / 1.18 GB, free: 13.54 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.784, allocations: 0.6562 kB / 1.18 GB, free: 13.54 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.862e-05/0.7841, allocations: 165.8 kB / 1.18 GB, free: 13.34 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.7841, allocations: 6.516 kB / 1.18 GB, free: 13.34 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.7843, allocations: 21.75 kB / 1.18 GB, free: 13.34 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.7843, allocations: 0 / 1.18 GB, free: 13.34 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.7843, allocations: 10.09 kB / 1.18 GB, free: 13.33 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.7843, allocations: 1.062 kB / 1.18 GB, free: 13.33 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7843, allocations: 4.547 kB / 1.18 GB, free: 13.33 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005439/0.7849, allocations: 181.6 kB / 1.181 GB, free: 13.24 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-05/0.7849, allocations: 92.23 kB / 1.181 GB, free: 13.14 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.785, allocations: 4.547 kB / 1.181 GB, free: 13.13 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.7851, allocations: 17.28 kB / 1.181 GB, free: 13.13 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.7851, allocations: 4.188 kB / 1.181 GB, free: 13.13 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.7851, allocations: 7.484 kB / 1.181 GB, free: 13.12 MB / 0.92 GB Notification: Performance of sorting global known variables: time 1.596e-05/0.7851, allocations: 77.38 kB / 1.181 GB, free: 13.05 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7851, allocations: 0 / 1.181 GB, free: 13.05 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002295/0.7854, allocations: 31.44 kB / 1.181 GB, free: 13.04 MB / 0.92 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.000745/0.7861, allocations: 0.7478 MB / 1.182 GB, free: 12.41 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003751/0.7865, allocations: 91.11 kB / 1.182 GB, free: 12.39 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7865, allocations: 0 / 1.182 GB, free: 12.39 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.7867, allocations: 40.81 kB / 1.182 GB, free: 12.38 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.7869, allocations: 14.55 kB / 1.182 GB, free: 12.38 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.7886, allocations: 1.347 MB / 1.183 GB, free: 11.22 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.305e-05/0.7887, allocations: 0.6827 MB / 1.184 GB, free: 10.52 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 8.515e-05/0.7888, allocations: 20.97 kB / 1.184 GB, free: 10.51 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.446e-05/0.7888, allocations: 16.67 kB / 1.184 GB, free: 10.5 MB / 0.92 GB Notification: Performance of SimCode: time 2.2e-07/0.7888, allocations: 0 / 1.184 GB, free: 10.5 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/0.8121, allocations: 2.067 MB / 1.186 GB, free: 10.11 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.174/8.986, allocations: 11.84 kB / 1.186 GB, free: 10.1 MB / 0.92 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-08 Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 14.541064860997722] Failed to read output from testmodel.py, exit status != 0: 9.052736855112016 9.068037487 8.287387249 Calling exit ...