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.001893/0.001893, allocations: 105.5 kB / 16.45 MB, free: 6.508 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.002217/0.002217, allocations: 196.5 kB / 19.41 MB, free: 3.664 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.432/1.432, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.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.002452/0.002452, allocations: 290.9 kB / 303 MB, free: 9.508 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.276/1.276, allocations: 180.9 MB / 0.5261 GB, free: 14.64 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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002778/0.002778, allocations: 109.4 kB / 0.7248 GB, free: 40.04 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1949, allocations: 94.15 MB / 0.8168 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0022/0.1971, allocations: 0.7881 MB / 0.8175 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00222/0.1994, allocations: 1.483 MB / 0.819 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.085e-05/0.1994, allocations: 0 / 0.819 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.032e-05/0.1995, allocations: 7.922 kB / 0.819 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.716e-05/0.1995, allocations: 7.938 kB / 0.819 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005408/0.2, allocations: 147.4 kB / 0.8191 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.2002, allocations: 51.66 kB / 0.8192 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.817e-05/0.2002, allocations: 7.984 kB / 0.8192 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.977e-05/0.2003, allocations: 31.91 kB / 0.8192 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.745e-05/0.2004, allocations: 35.83 kB / 0.8193 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.2004, allocations: 4 kB / 0.8193 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004709/0.2009, allocations: 319.4 kB / 0.8196 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.128e-05/0.2009, allocations: 11.98 kB / 0.8196 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.937e-05/0.2009, allocations: 23.86 kB / 0.8196 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003434/0.2013, allocations: 215.6 kB / 0.8198 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2013, allocations: 0 / 0.8198 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.224e-06/0.2013, allocations: 0 / 0.8198 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.192e-05/0.2013, allocations: 0 / 0.8198 GB, free: 2.184 MB / 0.5606 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.0006934/0.202, allocations: 410.8 kB / 0.8202 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.202, allocations: 8.031 kB / 0.8202 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.532e-05/0.2021, allocations: 38.75 kB / 0.8203 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004355/0.2025, allocations: 72.8 kB / 0.8203 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.2026, allocations: 172.2 kB / 0.8205 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/0.2027, allocations: 8.375 kB / 0.8205 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.2027, allocations: 8.375 kB / 0.8205 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003751/0.2031, allocations: 118.3 kB / 0.8206 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.2031, allocations: 4 kB / 0.8206 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.2031, allocations: 0 / 0.8206 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.2031, allocations: 0 / 0.8206 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004591/0.2036, allocations: 107.8 kB / 0.8207 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006309/0.2042, allocations: 336.7 kB / 0.821 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006144/0.2048, allocations: 154.4 kB / 0.8212 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/0.205, allocations: 52.81 kB / 0.8212 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.2051, allocations: 4 kB / 0.8212 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.2051, allocations: 38.5 kB / 0.8213 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.2051, allocations: 0 / 0.8213 GB, free: 0.5117 MB / 0.5606 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.01827/0.2234, allocations: 2.826 MB / 0.824 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.2234, allocations: 63.34 kB / 0.8241 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.2235, allocations: 105.8 kB / 0.8242 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.698e-05/0.2236, allocations: 29.7 kB / 0.8242 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.516e-05/0.2237, allocations: 88.08 kB / 0.8243 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.511e-05/0.2237, allocations: 39.64 kB / 0.8244 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.2239, allocations: 69.58 kB / 0.8244 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.2241, allocations: 318.8 kB / 0.8247 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006337/0.2247, allocations: 187.8 kB / 0.8249 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006248/0.2253, allocations: 195.8 kB / 0.8251 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.2266, allocations: 395.1 kB / 0.8255 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2266, allocations: 0 / 0.8255 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001487/0.2281, allocations: 481.3 kB / 0.8259 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.2281, allocations: 6.812 kB / 0.8259 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2281, allocations: 0 / 0.8259 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.2281, allocations: 4 kB / 0.8259 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008344/0.2289, allocations: 107.7 kB / 0.826 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.229, allocations: 0 / 0.826 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006019/0.2296, allocations: 55.92 kB / 0.8261 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.364e-05/0.2296, allocations: 23.97 kB / 0.8261 GB, free: 11.42 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.0001757/0.2298, allocations: 117.8 kB / 0.8262 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.983e-05/0.2299, allocations: 4 kB / 0.8262 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.311e-05/0.2299, allocations: 12.16 kB / 0.8262 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.2299, allocations: 7.938 kB / 0.8262 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.2299, allocations: 7.984 kB / 0.8263 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.23, allocations: 7.984 kB / 0.8263 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/0.2322, allocations: 1.047 MB / 0.8273 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2322, allocations: 0 / 0.8273 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008077/0.2331, allocations: 111.7 kB / 0.8274 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.2331, allocations: 0 / 0.8274 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.288e-05/0.2331, allocations: 23.92 kB / 0.8274 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.2331, allocations: 0 / 0.8274 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2331, allocations: 0 / 0.8274 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002293/0.2354, allocations: 0.7956 MB / 0.8282 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/0.2356, allocations: 121 kB / 0.8283 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.114e-05/0.2357, allocations: 0 / 0.8283 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006715/0.2363, allocations: 52 kB / 0.8284 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.21e-05/0.2364, allocations: 23.92 kB / 0.8284 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.385e-05/0.2365, allocations: 23.94 kB / 0.8284 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.945e-05/0.2365, allocations: 87.27 kB / 0.8285 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2365, allocations: 0 / 0.8285 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003883/0.2369, allocations: 51.94 kB / 0.8285 GB, free: 8.777 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.002715/0.2396, allocations: 1.349 MB / 0.8299 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001402/0.241, allocations: 411.6 kB / 0.8302 GB, free: 7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.241, allocations: 0 / 0.8302 GB, free: 7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006858/0.2417, allocations: 223.7 kB / 0.8305 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.2421, allocations: 8.938 kB / 0.8305 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008609/0.2507, allocations: 2.94 MB / 0.8333 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.2511, allocations: 0.6966 MB / 0.834 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005428/0.2516, allocations: 96.59 kB / 0.8341 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000255/0.2519, allocations: 64.55 kB / 0.8342 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of SimCode: time 1.252e-06/0.2519, allocations: 4 kB / 0.8342 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02875/0.2807, allocations: 4.603 MB / 0.8387 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.212/8.493, allocations: 7.625 kB / 0.8387 GB, free: 14.41 MB / 0.5919 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --stepSize=0.0012 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.700358799193054] Failed to read output from testmodel.py, exit status != 0: 8.560184307862073 8.573975213 8.369901257 Calling exit ...