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.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.001688/0.001688, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001468/0.001468, allocations: 215.9 kB / 23.03 MB, free: 4.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.404/1.404, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.002511/0.002511, allocations: 287 kB / 313.5 MB, free: 2.602 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.222/1.222, allocations: 180.6 MB / 0.5377 GB, free: 14.56 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 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.InverseXDerivative_2_Check,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="cs",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="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.004099/0.004099, allocations: 93.8 kB / 0.7403 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.2011, allocations: 95.38 MB / 0.8334 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002285/0.2034, allocations: 0.7865 MB / 0.8342 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002353/0.2057, allocations: 1.452 MB / 0.8356 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.506e-05/0.2058, allocations: 4 kB / 0.8356 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.278e-05/0.2058, allocations: 3.938 kB / 0.8356 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.334e-05/0.2059, allocations: 3.938 kB / 0.8356 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006635/0.2066, allocations: 147.4 kB / 0.8358 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.2067, allocations: 39.97 kB / 0.8358 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.801e-05/0.2067, allocations: 4 kB / 0.8358 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.058e-05/0.2068, allocations: 27.92 kB / 0.8359 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.606e-05/0.2069, allocations: 39.81 kB / 0.8359 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.2069, allocations: 4 kB / 0.8359 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000475/0.2074, allocations: 263.5 kB / 0.8361 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.831e-05/0.2074, allocations: 12 kB / 0.8362 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.181e-05/0.2075, allocations: 27.86 kB / 0.8362 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003914/0.2079, allocations: 207.7 kB / 0.8364 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2079, allocations: 0 / 0.8364 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2079, allocations: 0 / 0.8364 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.2079, allocations: 3.938 kB / 0.8364 GB, free: 5.27 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.0007125/0.2086, allocations: 325.8 kB / 0.8367 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.2086, allocations: 9.938 kB / 0.8367 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.761e-05/0.2087, allocations: 4.188 kB / 0.8367 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.918e-05/0.2087, allocations: 38.73 kB / 0.8368 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004491/0.2091, allocations: 64.86 kB / 0.8368 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.2093, allocations: 126.4 kB / 0.8369 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.2093, allocations: 12.25 kB / 0.8369 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.305e-05/0.2093, allocations: 8.375 kB / 0.837 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004157/0.2098, allocations: 159.8 kB / 0.8371 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.2098, allocations: 0 / 0.8371 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.2098, allocations: 4 kB / 0.8371 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.2098, allocations: 4 kB / 0.8371 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000467/0.2103, allocations: 103.9 kB / 0.8372 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006461/0.2109, allocations: 291.8 kB / 0.8375 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006675/0.2116, allocations: 150.4 kB / 0.8376 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002428/0.2118, allocations: 60.94 kB / 0.8377 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.2118, allocations: 3.984 kB / 0.8377 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.2119, allocations: 38.56 kB / 0.8377 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.2119, allocations: 0 / 0.8377 GB, free: 3.754 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.01899/0.2309, allocations: 2.687 MB / 0.8404 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.2309, allocations: 51.41 kB / 0.8404 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.231, allocations: 101.8 kB / 0.8405 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.912e-05/0.2311, allocations: 33.7 kB / 0.8405 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/0.2311, allocations: 92.03 kB / 0.8406 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.616e-05/0.2312, allocations: 35.69 kB / 0.8407 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/0.2314, allocations: 69.58 kB / 0.8407 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.2316, allocations: 322.8 kB / 0.841 GB, free: 276 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006708/0.2322, allocations: 187.8 kB / 0.8412 GB, free: 88 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006751/0.2329, allocations: 191.9 kB / 0.8414 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.2342, allocations: 396.5 kB / 0.8418 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2342, allocations: 0 / 0.8418 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001592/0.2358, allocations: 478.5 kB / 0.8422 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.2358, allocations: 4 kB / 0.8422 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.2358, allocations: 4 kB / 0.8422 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.2359, allocations: 7.875 kB / 0.8422 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008828/0.2367, allocations: 107.8 kB / 0.8423 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.2368, allocations: 0 / 0.8423 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006413/0.2374, allocations: 47.94 kB / 0.8424 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.658e-05/0.2375, allocations: 23.94 kB / 0.8424 GB, free: 14.84 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 (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.0001971/0.2377, allocations: 118.4 kB / 0.8425 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.082e-05/0.2378, allocations: 11.95 kB / 0.8425 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.831e-05/0.2378, allocations: 16.05 kB / 0.8426 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.2378, allocations: 3.938 kB / 0.8426 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.2378, allocations: 4.094 kB / 0.8426 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.2378, allocations: 7.938 kB / 0.8426 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002319/0.2402, allocations: 0.9718 MB / 0.8435 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.2402, allocations: 7.875 kB / 0.8435 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008373/0.241, allocations: 107.7 kB / 0.8436 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.241, allocations: 7.984 kB / 0.8436 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.772e-05/0.2411, allocations: 23.94 kB / 0.8437 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.2411, allocations: 0 / 0.8437 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2411, allocations: 4 kB / 0.8437 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002364/0.2434, allocations: 0.7841 MB / 0.8444 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.2436, allocations: 47.81 kB / 0.8445 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.401e-05/0.2437, allocations: 4 kB / 0.8445 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006801/0.2443, allocations: 48 kB / 0.8445 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.2445, allocations: 23.92 kB / 0.8445 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.39e-05/0.2446, allocations: 31.92 kB / 0.8446 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.178e-05/0.2446, allocations: 79.28 kB / 0.8447 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2446, allocations: 3.938 kB / 0.8447 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004093/0.245, allocations: 63.88 kB / 0.8447 GB, free: 12.35 MB / 0.5919 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.002859/0.2479, allocations: 1.325 MB / 0.846 GB, free: 11 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001466/0.2494, allocations: 427.5 kB / 0.8464 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.2494, allocations: 0 / 0.8464 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007174/0.2501, allocations: 223.7 kB / 0.8466 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.2505, allocations: 14.41 kB / 0.8466 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009255/0.2597, allocations: 2.947 MB / 0.8495 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.496e-05/0.2598, allocations: 79.78 kB / 0.8496 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005399/0.2604, allocations: 92.66 kB / 0.8497 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003251/0.2607, allocations: 67.3 kB / 0.8498 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of SimCode: time 1.703e-06/0.2607, allocations: 0 / 0.8498 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02817/0.2889, allocations: 4.989 MB / 0.8546 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.71, allocations: 4.766 kB / 0.8546 GB, free: 2.242 MB / 0.5919 GB " [Timeout remaining time 648] (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 sys.exit(0), Time elapsed: 15.912957370979711] Failed to read output from testmodel.py, exit status != 0: 11.872450435999781 11.898760599 11.68613045 Calling exit ...