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.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.001238/0.001238, allocations: 117.7 kB / 17.13 MB, free: 5.758 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.00123/0.00123, allocations: 194.1 kB / 20.08 MB, free: 2.848 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.343/1.343, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00231/0.00231, allocations: 288.3 kB / 303.6 MB, free: 3.668 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1/1, allocations: 180.9 MB / 0.5268 GB, free: 2.676 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002674/0.002674, allocations: 107.8 kB / 0.726 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5183/0.5209, allocations: 94.16 MB / 0.8179 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001525/0.5225, allocations: 0.6086 MB / 0.8185 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.5238, allocations: 1.462 MB / 0.8199 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.085e-05/0.5238, allocations: 0.8438 kB / 0.8199 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.598e-05/0.5238, allocations: 3.938 kB / 0.8199 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.116e-05/0.5239, allocations: 0 / 0.8199 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004283/0.5243, allocations: 142.5 kB / 0.8201 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.314e-05/0.5244, allocations: 26.45 kB / 0.8201 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.5244, allocations: 1.094 kB / 0.8201 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.802e-05/0.5244, allocations: 20.94 kB / 0.8201 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.447e-05/0.5245, allocations: 31.62 kB / 0.8202 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.5245, allocations: 1.875 kB / 0.8202 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003892/0.5249, allocations: 311.9 kB / 0.8205 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.5249, allocations: 8.828 kB / 0.8205 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.406e-05/0.525, allocations: 13.62 kB / 0.8205 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.5252, allocations: 196.4 kB / 0.8207 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.5252, allocations: 0 / 0.8207 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5252, allocations: 1.031 kB / 0.8207 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.5252, allocations: 0 / 0.8207 GB, free: 5.758 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.0004255/0.5257, allocations: 374.2 kB / 0.821 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.5257, allocations: 8.531 kB / 0.821 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004414/0.5261, allocations: 65.17 kB / 0.8211 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.755e-05/0.5262, allocations: 166.9 kB / 0.8212 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.5262, allocations: 5.219 kB / 0.8213 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.5262, allocations: 3.219 kB / 0.8213 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.5265, allocations: 83.81 kB / 0.8213 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.5265, allocations: 0 / 0.8213 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.5265, allocations: 0.9375 kB / 0.8213 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.5265, allocations: 0 / 0.8213 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002996/0.5268, allocations: 65.34 kB / 0.8214 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.527, allocations: 164.7 kB / 0.8216 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005786/0.5275, allocations: 125.4 kB / 0.8217 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.5277, allocations: 50.12 kB / 0.8217 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004193/0.5281, allocations: 150.8 kB / 0.8219 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.455e-05/0.5281, allocations: 40.44 kB / 0.8219 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.5281, allocations: 0 / 0.8219 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.001054/0.5292, allocations: 403.1 kB / 0.8223 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.5292, allocations: 55.92 kB / 0.8223 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.842e-05/0.5292, allocations: 100.4 kB / 0.8224 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.5293, allocations: 25.7 kB / 0.8225 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.118e-05/0.5293, allocations: 80.14 kB / 0.8225 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.5293, allocations: 24.78 kB / 0.8226 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-05/0.5293, allocations: 26.12 kB / 0.8226 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.475e-05/0.5294, allocations: 312.1 kB / 0.8229 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.5295, allocations: 36.36 kB / 0.8229 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.5297, allocations: 35.22 kB / 0.823 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.5299, allocations: 75.53 kB / 0.823 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.5299, allocations: 0 / 0.823 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003411/0.5303, allocations: 115.7 kB / 0.8231 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.5303, allocations: 8.297 kB / 0.8231 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.5303, allocations: 0 / 0.8231 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.5303, allocations: 6.656 kB / 0.8232 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.5304, allocations: 26 kB / 0.8232 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.5304, allocations: 0.5625 kB / 0.8232 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.249e-05/0.5305, allocations: 13.91 kB / 0.8232 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.5305, allocations: 0.6094 kB / 0.8232 GB, free: 3.699 MB / 0.5762 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.62e-05/0.5306, allocations: 115.7 kB / 0.8233 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.629e-05/0.5306, allocations: 9.906 kB / 0.8233 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004168/0.531, allocations: 127.6 kB / 0.8234 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.531, allocations: 1.906 kB / 0.8234 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.531, allocations: 1.375 kB / 0.8234 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.531, allocations: 0.6562 kB / 0.8234 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.216e-05/0.5311, allocations: 178.4 kB / 0.8236 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.5311, allocations: 0 / 0.8236 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.5313, allocations: 31.36 kB / 0.8236 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.5313, allocations: 0 / 0.8236 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.5313, allocations: 2.016 kB / 0.8236 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5313, allocations: 0.7969 kB / 0.8236 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.5313, allocations: 11.81 kB / 0.8236 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005063/0.5318, allocations: 182.9 kB / 0.8238 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/0.5318, allocations: 89.44 kB / 0.8239 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.5319, allocations: 0.75 kB / 0.8239 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.532, allocations: 11.72 kB / 0.8239 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.287e-05/0.532, allocations: 8.781 kB / 0.8239 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.532, allocations: 7.969 kB / 0.8239 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.506e-05/0.532, allocations: 81.97 kB / 0.824 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.532, allocations: 3.938 kB / 0.824 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002059/0.5322, allocations: 29.02 kB / 0.824 GB, free: 3.008 MB / 0.5762 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.00016/0.5324, allocations: 128.5 kB / 0.8242 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003569/0.5327, allocations: 83.08 kB / 0.8242 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.5327, allocations: 0 / 0.8242 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.5329, allocations: 48.48 kB / 0.8243 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.533, allocations: 6.078 kB / 0.8243 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00055/0.5336, allocations: 212.7 kB / 0.8245 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.412e-05/0.5337, allocations: 0.679 MB / 0.8252 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.984e-05/0.5337, allocations: 14.3 kB / 0.8252 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.5337, allocations: 0 / 0.8252 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of Templates: time 0.002687/0.5364, allocations: 1.126 MB / 0.8263 GB, free: 1.934 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.900982289807871] Failed to read output from testmodel.py, exit status != 0: 0.5437696501612663 0.5549427490000001 0.027124519000000003 Calling exit ...