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.001341/0.001341, allocations: 104.7 kB / 16.45 MB, free: 6.445 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.001273/0.001273, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.438/1.438, allocations: 225.6 MB / 247.8 MB, free: 3.75 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.002456/0.002456, allocations: 283.7 kB / 303 MB, free: 3.551 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.086/1.086, allocations: 180.9 MB / 0.5262 GB, free: 2.785 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.InverseXDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002826/0.002826, allocations: 95.84 kB / 0.7248 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5611/0.5639, allocations: 94.16 MB / 0.8168 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001616/0.5656, allocations: 0.6055 MB / 0.8174 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001572/0.5671, allocations: 1.465 MB / 0.8188 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.777e-05/0.5672, allocations: 0 / 0.8188 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.196e-05/0.5672, allocations: 4.938 kB / 0.8188 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.081e-05/0.5672, allocations: 0 / 0.8188 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004646/0.5677, allocations: 145.2 kB / 0.8189 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.124e-05/0.5677, allocations: 27.11 kB / 0.819 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.5678, allocations: 1.406 kB / 0.819 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.556e-05/0.5678, allocations: 20.91 kB / 0.819 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.008e-05/0.5679, allocations: 24.44 kB / 0.819 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.5679, allocations: 1.438 kB / 0.819 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000415/0.5683, allocations: 312.8 kB / 0.8193 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/0.5683, allocations: 13.73 kB / 0.8193 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.807e-05/0.5684, allocations: 10.59 kB / 0.8193 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.5687, allocations: 194.9 kB / 0.8195 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.5687, allocations: 0 / 0.8195 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5687, allocations: 0.75 kB / 0.8195 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.5687, allocations: 3.938 kB / 0.8195 GB, free: 5.484 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.0004629/0.5691, allocations: 369.8 kB / 0.8199 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.5692, allocations: 9.656 kB / 0.8199 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.424e-05/0.5692, allocations: 31.53 kB / 0.8199 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004343/0.5696, allocations: 67.5 kB / 0.82 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.852e-05/0.5697, allocations: 165.9 kB / 0.8201 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.5698, allocations: 5.625 kB / 0.8201 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.5698, allocations: 6.125 kB / 0.8201 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.57, allocations: 73.11 kB / 0.8202 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.57, allocations: 0 / 0.8202 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.57, allocations: 5.594 kB / 0.8202 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.57, allocations: 0 / 0.8202 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00027/0.5703, allocations: 67.5 kB / 0.8203 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001393/0.5704, allocations: 169.4 kB / 0.8204 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005835/0.571, allocations: 121.7 kB / 0.8206 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.5712, allocations: 45.98 kB / 0.8206 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004249/0.5716, allocations: 153.9 kB / 0.8207 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.5716, allocations: 36.58 kB / 0.8208 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 2.074e-06/0.5716, allocations: 3.984 kB / 0.8208 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.001092/0.5727, allocations: 403.3 kB / 0.8212 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/0.5727, allocations: 56 kB / 0.8212 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.227e-05/0.5728, allocations: 102.5 kB / 0.8213 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.5728, allocations: 26.8 kB / 0.8213 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.389e-05/0.5728, allocations: 80.98 kB / 0.8214 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.5728, allocations: 22.64 kB / 0.8214 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.5729, allocations: 21.97 kB / 0.8215 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.143e-05/0.5729, allocations: 313.4 kB / 0.8218 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.5731, allocations: 37.98 kB / 0.8218 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.5732, allocations: 34.7 kB / 0.8218 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.5735, allocations: 76.03 kB / 0.8219 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.5735, allocations: 0 / 0.8219 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003347/0.5738, allocations: 120.2 kB / 0.822 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.5739, allocations: 5.953 kB / 0.822 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.5739, allocations: 0 / 0.822 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.5739, allocations: 6.562 kB / 0.822 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.574, allocations: 26.12 kB / 0.8221 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.574, allocations: 0 / 0.8221 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.728e-05/0.5741, allocations: 11.67 kB / 0.8221 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.5741, allocations: 2.203 kB / 0.8221 GB, free: 3.387 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 5.026e-05/0.5742, allocations: 112.9 kB / 0.8222 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.715e-05/0.5742, allocations: 9.141 kB / 0.8222 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004138/0.5746, allocations: 133.3 kB / 0.8223 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.5746, allocations: 4.5 kB / 0.8223 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.5746, allocations: 2.625 kB / 0.8223 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.5746, allocations: 0.6094 kB / 0.8223 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.5747, allocations: 164.9 kB / 0.8225 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.5747, allocations: 4.453 kB / 0.8225 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.5749, allocations: 25.97 kB / 0.8225 GB, free: 3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.5749, allocations: 7.219 kB / 0.8225 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.5749, allocations: 0.7969 kB / 0.8225 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5749, allocations: 3.938 kB / 0.8225 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.5749, allocations: 2.656 kB / 0.8225 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005146/0.5754, allocations: 185.5 kB / 0.8227 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.542e-05/0.5755, allocations: 88.44 kB / 0.8228 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.5755, allocations: 0 / 0.8228 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.5756, allocations: 11.81 kB / 0.8228 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.5756, allocations: 13.2 kB / 0.8228 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.5756, allocations: 4.594 kB / 0.8228 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.912e-05/0.5757, allocations: 79.95 kB / 0.8229 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.5757, allocations: 0 / 0.8229 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002459/0.5759, allocations: 30.5 kB / 0.8229 GB, free: 2.707 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.0007605/0.5767, allocations: 0.7532 MB / 0.8237 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003771/0.577, allocations: 87.08 kB / 0.8237 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.577, allocations: 3.25 kB / 0.8237 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.5772, allocations: 41.91 kB / 0.8238 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.5773, allocations: 6.969 kB / 0.8238 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.5792, allocations: 1.353 MB / 0.8251 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.5795, allocations: 0.6785 MB / 0.8258 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.021e-05/0.5796, allocations: 15.94 kB / 0.8258 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.742e-05/0.5797, allocations: 19.23 kB / 0.8258 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.5797, allocations: 0 / 0.8258 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02626/0.6059, allocations: 2.105 MB / 0.8279 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.005/8.611, allocations: 9.156 kB / 0.8279 GB, free: 15.76 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 os._exit(0), Time elapsed: 12.562134785111994] Failed to read output from testmodel.py, exit status != 0: 8.679605006240308 8.704690138 8.132703382 Calling exit ...