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.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.001569/0.001569, allocations: 118.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.001581/0.001581, allocations: 191.7 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.35/1.35, allocations: 225.6 MB / 248.5 MB, free: 3.613 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.002241/0.002241, allocations: 275.7 kB / 303.6 MB, free: 3.621 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 0.991/0.991, allocations: 180.9 MB / 0.5268 GB, free: 2.703 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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002654/0.002654, allocations: 103.8 kB / 0.726 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4832/0.4858, allocations: 94.16 MB / 0.8179 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001898/0.4877, allocations: 0.7842 MB / 0.8187 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001586/0.4893, allocations: 1.488 MB / 0.8201 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.083e-05/0.4894, allocations: 0 / 0.8201 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.843e-05/0.4894, allocations: 5.125 kB / 0.8201 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.478e-05/0.4894, allocations: 4.594 kB / 0.8201 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004545/0.4899, allocations: 142.6 kB / 0.8203 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.04e-05/0.49, allocations: 47.16 kB / 0.8203 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.564e-05/0.49, allocations: 13.72 kB / 0.8203 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.016e-05/0.4901, allocations: 30.73 kB / 0.8204 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.045e-05/0.4901, allocations: 36.45 kB / 0.8204 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.4902, allocations: 3.531 kB / 0.8204 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004067/0.4906, allocations: 321.4 kB / 0.8207 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.4906, allocations: 17.83 kB / 0.8207 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.088e-05/0.4906, allocations: 21.52 kB / 0.8208 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.4909, allocations: 211 kB / 0.821 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4909, allocations: 1.094 kB / 0.821 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.694e-06/0.4909, allocations: 0.6562 kB / 0.821 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.4909, allocations: 0 / 0.821 GB, free: 5.562 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005664/0.4915, allocations: 403.5 kB / 0.8213 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.4915, allocations: 9.75 kB / 0.8214 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004401/0.4919, allocations: 71.95 kB / 0.8214 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.313e-05/0.492, allocations: 168.1 kB / 0.8216 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.492, allocations: 3.438 kB / 0.8216 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.4921, allocations: 12.73 kB / 0.8216 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003649/0.4924, allocations: 118.6 kB / 0.8217 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.4924, allocations: 0.5156 kB / 0.8217 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.4925, allocations: 0.875 kB / 0.8217 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.4925, allocations: 5.469 kB / 0.8217 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004776/0.4929, allocations: 103.4 kB / 0.8218 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005114/0.4935, allocations: 346 kB / 0.8221 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006314/0.4941, allocations: 157 kB / 0.8223 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002344/0.4943, allocations: 50.73 kB / 0.8223 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.4943, allocations: 4.781 kB / 0.8223 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.4944, allocations: 36.98 kB / 0.8224 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.4944, allocations: 0 / 0.8224 GB, free: 4.457 MB / 0.5762 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.01752/0.5119, allocations: 2.835 MB / 0.8252 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.5119, allocations: 55.95 kB / 0.8252 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.566e-05/0.512, allocations: 112.1 kB / 0.8253 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.29e-05/0.512, allocations: 29.7 kB / 0.8253 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.162e-05/0.5121, allocations: 81.55 kB / 0.8254 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.706e-05/0.5121, allocations: 44.25 kB / 0.8255 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.5123, allocations: 68.91 kB / 0.8255 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.286e-05/0.5123, allocations: 321.4 kB / 0.8258 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006492/0.513, allocations: 187.2 kB / 0.826 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006392/0.5136, allocations: 205.7 kB / 0.8262 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.5149, allocations: 387.8 kB / 0.8266 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.5149, allocations: 0 / 0.8266 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00148/0.5164, allocations: 481.8 kB / 0.827 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.5164, allocations: 8.312 kB / 0.827 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.5164, allocations: 0 / 0.827 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.5164, allocations: 0 / 0.827 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008013/0.5172, allocations: 106.4 kB / 0.8271 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.5172, allocations: 6.75 kB / 0.8272 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005625/0.5178, allocations: 48.7 kB / 0.8272 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.027e-05/0.5179, allocations: 23.41 kB / 0.8272 GB, free: 2.602 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 (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.0001455/0.518, allocations: 116.5 kB / 0.8273 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.977e-05/0.5181, allocations: 7.391 kB / 0.8273 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.208e-05/0.5181, allocations: 13 kB / 0.8274 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.5181, allocations: 192 / 0.8274 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.5181, allocations: 3.938 kB / 0.8274 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5181, allocations: 4.969 kB / 0.8274 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001987/0.5201, allocations: 1.051 MB / 0.8284 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.5201, allocations: 2.469 kB / 0.8284 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007709/0.5209, allocations: 108.8 kB / 0.8285 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.5209, allocations: 4.828 kB / 0.8285 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.888e-05/0.521, allocations: 25.83 kB / 0.8285 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.521, allocations: 0.75 kB / 0.8285 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.521, allocations: 2.844 kB / 0.8285 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002214/0.5232, allocations: 0.789 MB / 0.8293 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.5233, allocations: 117.2 kB / 0.8294 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.788e-05/0.5234, allocations: 2.25 kB / 0.8294 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006306/0.524, allocations: 52.45 kB / 0.8295 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.245e-05/0.5241, allocations: 24.8 kB / 0.8295 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.084e-05/0.5242, allocations: 24.94 kB / 0.8295 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.847e-05/0.5242, allocations: 83.64 kB / 0.8296 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5242, allocations: 0 / 0.8296 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003837/0.5246, allocations: 51.73 kB / 0.8296 GB, free: 1.254 MB / 0.5762 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.0001888/0.5248, allocations: 122.4 kB / 0.8298 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001415/0.5262, allocations: 416.3 kB / 0.8301 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.5262, allocations: 0 / 0.8301 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007172/0.5269, allocations: 222.7 kB / 0.8304 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.5273, allocations: 11.3 kB / 0.8304 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004075/0.5313, allocations: 0.7895 MB / 0.8311 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.5314, allocations: 0.6922 MB / 0.8318 GB, free: 56 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004116/0.5319, allocations: 76.45 kB / 0.8319 GB, free: 48 kB / 0.5762 GB Notification: Performance of SimCode: time 9.82e-07/0.5319, allocations: 4 kB / 0.8319 GB, free: 44 kB / 0.5762 GB Notification: Performance of Templates: time 0.006565/0.5384, allocations: 3.79 MB / 0.8356 GB, free: 15.82 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.116194694070145] Failed to read output from testmodel.py, exit status != 0: 0.5460799429565668 0.558820579 0.065304148 Calling exit ...