Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001825/0.001825, allocations: 113.9 kB / 17.16 MB, free: 5.895 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.002249/0.002249, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.522/1.522, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.002411/0.002411, allocations: 281.5 kB / 309.8 MB, free: 3.449 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.16/1.16, allocations: 180.6 MB / 0.5338 GB, free: 12.38 MB / 398.1 MB " [Timeout remaining time 178] 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.InverseXDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",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.004411/0.004411, allocations: 107.8 kB / 0.7347 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5588/0.5632, allocations: 95.34 MB / 0.8278 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001709/0.5649, allocations: 0.6139 MB / 0.8284 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001599/0.5665, allocations: 1.51 MB / 0.8299 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.393e-05/0.5665, allocations: 0 / 0.8299 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.519e-05/0.5665, allocations: 0 / 0.8299 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.601e-05/0.5666, allocations: 0 / 0.8299 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005359/0.5671, allocations: 145.1 kB / 0.83 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.653e-05/0.5672, allocations: 35.5 kB / 0.8301 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.564e-05/0.5672, allocations: 3.312 kB / 0.8301 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.112e-05/0.5673, allocations: 18.03 kB / 0.8301 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.501e-05/0.5674, allocations: 24.52 kB / 0.8301 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.5674, allocations: 2.75 kB / 0.8301 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004702/0.5679, allocations: 319.5 kB / 0.8304 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.5679, allocations: 8.734 kB / 0.8304 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.739e-05/0.5679, allocations: 6.453 kB / 0.8304 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003334/0.5682, allocations: 193.5 kB / 0.8306 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.5682, allocations: 0 / 0.8306 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.324e-06/0.5682, allocations: 3 kB / 0.8306 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.5682, allocations: 0 / 0.8306 GB, free: 1.328 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004954/0.5687, allocations: 369.4 kB / 0.831 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.5688, allocations: 9.25 kB / 0.831 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.684e-05/0.5688, allocations: 4.188 kB / 0.831 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.354e-05/0.5688, allocations: 32.73 kB / 0.831 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005015/0.5693, allocations: 71.05 kB / 0.8311 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.492e-05/0.5694, allocations: 168.3 kB / 0.8312 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.5694, allocations: 384 / 0.8312 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.5695, allocations: 7.719 kB / 0.8313 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/0.5697, allocations: 86.7 kB / 0.8313 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.5697, allocations: 3.938 kB / 0.8313 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.5697, allocations: 4 kB / 0.8313 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.5697, allocations: 0 / 0.8313 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003063/0.57, allocations: 63.72 kB / 0.8314 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.5702, allocations: 164.1 kB / 0.8316 GB, free: 444 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005929/0.5708, allocations: 115.9 kB / 0.8317 GB, free: 408 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.5709, allocations: 54.89 kB / 0.8317 GB, free: 384 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000444/0.5714, allocations: 153.8 kB / 0.8319 GB, free: 280 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.5714, allocations: 34.09 kB / 0.8319 GB, free: 240 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.5714, allocations: 0 / 0.8319 GB, free: 240 kB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.00117/0.5726, allocations: 403.1 kB / 0.8323 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.5726, allocations: 51.41 kB / 0.8323 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.605e-05/0.5727, allocations: 100.5 kB / 0.8324 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.5727, allocations: 28.33 kB / 0.8325 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.112e-05/0.5728, allocations: 80.84 kB / 0.8325 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.751e-05/0.5728, allocations: 22.58 kB / 0.8326 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.891e-05/0.5729, allocations: 19.31 kB / 0.8326 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.573, allocations: 316.1 kB / 0.8329 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.5732, allocations: 38.38 kB / 0.8329 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.5733, allocations: 34.23 kB / 0.8329 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003178/0.5737, allocations: 75.27 kB / 0.833 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.5737, allocations: 0 / 0.833 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003854/0.574, allocations: 128.1 kB / 0.8331 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.5741, allocations: 5.188 kB / 0.8331 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.5741, allocations: 0.6562 kB / 0.8331 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.5741, allocations: 2.25 kB / 0.8332 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.5742, allocations: 26.81 kB / 0.8332 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.5742, allocations: 0 / 0.8332 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.705e-05/0.5743, allocations: 11.47 kB / 0.8332 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.5743, allocations: 5.594 kB / 0.8332 GB, free: 15.22 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 (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 9.742e-05/0.5744, allocations: 116.7 kB / 0.8333 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.95e-05/0.5745, allocations: 6.016 kB / 0.8333 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004774/0.5749, allocations: 137.9 kB / 0.8334 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.5749, allocations: 0.75 kB / 0.8334 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.5749, allocations: 0 / 0.8334 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5749, allocations: 0.6094 kB / 0.8334 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.5751, allocations: 170.1 kB / 0.8336 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.5751, allocations: 8.547 kB / 0.8336 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.5753, allocations: 24.91 kB / 0.8336 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.5753, allocations: 0.7969 kB / 0.8336 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.5753, allocations: 0.6562 kB / 0.8336 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.5753, allocations: 0 / 0.8336 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5753, allocations: 0 / 0.8336 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005988/0.5759, allocations: 192.2 kB / 0.8338 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.26e-05/0.576, allocations: 91.62 kB / 0.8339 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.576, allocations: 0.8438 kB / 0.8339 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.5761, allocations: 12.22 kB / 0.8339 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.5761, allocations: 4.875 kB / 0.8339 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.5761, allocations: 2.328 kB / 0.8339 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.433e-05/0.5762, allocations: 86.72 kB / 0.834 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.5762, allocations: 0 / 0.834 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002448/0.5764, allocations: 30.14 kB / 0.834 GB, free: 14.54 MB / 0.5919 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.00104/0.5775, allocations: 0.7503 MB / 0.8348 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003993/0.5779, allocations: 81.27 kB / 0.8348 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5779, allocations: 0 / 0.8348 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.5781, allocations: 51.88 kB / 0.8349 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.5782, allocations: 8.781 kB / 0.8349 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.5804, allocations: 1.36 MB / 0.8362 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.5807, allocations: 0.6783 MB / 0.8369 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.78e-05/0.5808, allocations: 16.48 kB / 0.8369 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.204e-05/0.5808, allocations: 13.92 kB / 0.8369 GB, free: 12 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.5808, allocations: 3.938 kB / 0.8369 GB, free: 12 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01941/0.6003, allocations: 2.14 MB / 0.839 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.348/8.948, allocations: 2.688 kB / 0.839 GB, free: 11.59 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.21276821399806] Failed to read output from testmodel.py, exit status != 0: 9.075660279020667 9.101958701 8.528892701 Calling exit ...