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.001314/0.001314, allocations: 110.6 kB / 18.94 MB, free: 2.953 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.001683/0.001683, allocations: 220 kB / 22.26 MB, free: 5.125 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.423/1.423, allocations: 230.6 MB / 256 MB, free: 7.996 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.002565/0.002565, allocations: 304.1 kB / 312.7 MB, free: 2.816 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.271/1.271, allocations: 180.6 MB / 0.5369 GB, free: 12.98 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="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: 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.002819/0.002819, allocations: 96.34 kB / 0.7396 GB, free: 28.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.2003, allocations: 95.39 MB / 0.8328 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002276/0.2026, allocations: 0.7847 MB / 0.8335 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002193/0.2048, allocations: 1.542 MB / 0.8351 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.183e-05/0.2048, allocations: 3.938 kB / 0.8351 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.707e-05/0.2048, allocations: 7.922 kB / 0.8351 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.147e-05/0.2049, allocations: 3.938 kB / 0.8351 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005936/0.2055, allocations: 147.4 kB / 0.8352 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.2056, allocations: 59.83 kB / 0.8353 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.585e-05/0.2056, allocations: 7.984 kB / 0.8353 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.464e-05/0.2057, allocations: 23.92 kB / 0.8353 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.256e-05/0.2058, allocations: 31.91 kB / 0.8353 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.2058, allocations: 4 kB / 0.8353 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004818/0.2063, allocations: 315.4 kB / 0.8356 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.166e-05/0.2063, allocations: 15.92 kB / 0.8356 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.534e-05/0.2064, allocations: 35.84 kB / 0.8357 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003459/0.2067, allocations: 203.7 kB / 0.8359 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2067, allocations: 0 / 0.8359 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2067, allocations: 0 / 0.8359 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.2067, allocations: 0 / 0.8359 GB, free: 5.57 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.0006553/0.2074, allocations: 334.4 kB / 0.8362 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.2074, allocations: 13.33 kB / 0.8362 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.911e-05/0.2075, allocations: 38.75 kB / 0.8362 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004437/0.2079, allocations: 76.8 kB / 0.8363 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.208, allocations: 118.4 kB / 0.8364 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.2081, allocations: 4.375 kB / 0.8364 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.2081, allocations: 8.375 kB / 0.8364 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003626/0.2085, allocations: 109.7 kB / 0.8365 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.2085, allocations: 0 / 0.8365 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.2085, allocations: 0 / 0.8365 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.2085, allocations: 4 kB / 0.8366 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004915/0.209, allocations: 103.9 kB / 0.8367 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006023/0.2096, allocations: 303.7 kB / 0.8369 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000619/0.2102, allocations: 150.4 kB / 0.8371 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.2104, allocations: 60.75 kB / 0.8371 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.2104, allocations: 0 / 0.8371 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.2105, allocations: 34.56 kB / 0.8372 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.2105, allocations: 0 / 0.8372 GB, free: 4.109 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.01861/0.2291, allocations: 2.696 MB / 0.8398 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.403e-05/0.2292, allocations: 55.34 kB / 0.8399 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.2293, allocations: 101.9 kB / 0.84 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.777e-05/0.2294, allocations: 37.64 kB / 0.84 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.826e-05/0.2294, allocations: 88.03 kB / 0.8401 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.878e-05/0.2295, allocations: 39.67 kB / 0.8401 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.2297, allocations: 73.58 kB / 0.8402 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.2298, allocations: 322.8 kB / 0.8405 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006333/0.2305, allocations: 187.8 kB / 0.8407 GB, free: 436 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006237/0.2311, allocations: 191.8 kB / 0.8409 GB, free: 244 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/0.2324, allocations: 400.6 kB / 0.8412 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2324, allocations: 0 / 0.8412 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001536/0.2339, allocations: 473.8 kB / 0.8417 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.234, allocations: 4 kB / 0.8417 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.234, allocations: 7.984 kB / 0.8417 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.234, allocations: 0 / 0.8417 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008435/0.2348, allocations: 111.7 kB / 0.8418 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.2348, allocations: 0 / 0.8418 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006022/0.2354, allocations: 47.94 kB / 0.8419 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.664e-05/0.2355, allocations: 24.12 kB / 0.8419 GB, free: 15.18 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.0001684/0.2357, allocations: 118.4 kB / 0.842 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.537e-05/0.2357, allocations: 7.953 kB / 0.842 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.099e-05/0.2358, allocations: 24.03 kB / 0.842 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.2358, allocations: 3.938 kB / 0.842 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.2358, allocations: 0 / 0.842 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2358, allocations: 0 / 0.842 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00228/0.2381, allocations: 1.015 MB / 0.843 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2381, allocations: 0 / 0.843 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008168/0.2389, allocations: 107.7 kB / 0.8431 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2389, allocations: 0 / 0.8431 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.204e-05/0.239, allocations: 23.94 kB / 0.8431 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.239, allocations: 8 kB / 0.8431 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.239, allocations: 3.938 kB / 0.8432 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/0.2413, allocations: 0.7917 MB / 0.8439 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.2415, allocations: 43.83 kB / 0.844 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.614e-05/0.2415, allocations: 8 kB / 0.844 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006366/0.2422, allocations: 39.94 kB / 0.844 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.196e-05/0.2423, allocations: 31.98 kB / 0.844 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.382e-05/0.2423, allocations: 23.92 kB / 0.8441 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.21e-05/0.2424, allocations: 83.28 kB / 0.8441 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2424, allocations: 0 / 0.8441 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004004/0.2428, allocations: 55.94 kB / 0.8442 GB, free: 12.67 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.002751/0.2455, allocations: 1.342 MB / 0.8455 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001415/0.2469, allocations: 419.5 kB / 0.8459 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.247, allocations: 0 / 0.8459 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006981/0.2476, allocations: 227.6 kB / 0.8461 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.2481, allocations: 12 kB / 0.8461 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008652/0.2567, allocations: 2.948 MB / 0.849 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.2571, allocations: 0.6968 MB / 0.8497 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000486/0.2575, allocations: 84.67 kB / 0.8498 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/0.2578, allocations: 67.3 kB / 0.8498 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of SimCode: time 1.252e-06/0.2578, allocations: 0 / 0.8498 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03428/0.2921, allocations: 4.801 MB / 0.8545 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.86, allocations: 6.812 kB / 0.8545 GB, free: 2.09 MB / 0.5919 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv --start-time -1.5 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0012 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.165643764001288] Failed to read output from testmodel.py, exit status != 0: 10.960191559999657 10.978298675 10.767007503 Calling exit ...