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.0007428/0.0007428, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007792/0.0007792, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.881/0.881, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.001427/0.001427, allocations: 230.4 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6676/0.6676, allocations: 138.4 MB / 454.3 MB, free: 30.01 MB / 410.7 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: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.6464 GB, free: 1.789 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.404e-05, allocations: 8.891 kB / 0.6464 GB, free: 1.781 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00145/0.001474, allocations: 0.7743 MB / 0.6471 GB, free: 1.004 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2387/0.2402, allocations: 1.45 MB / 0.6485 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.654e-05/0.2402, allocations: 1 kB / 0.6485 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3.083e-05/0.2403, allocations: 4.641 kB / 0.6485 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.01e-05/0.2403, allocations: 1.344 kB / 0.6485 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000543/0.2408, allocations: 151.3 kB / 0.6487 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 9.678e-05/0.2409, allocations: 52.56 kB / 0.6487 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.715e-05/0.241, allocations: 4.422 kB / 0.6487 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.2411, allocations: 37.45 kB / 0.6488 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.783e-05/0.2411, allocations: 26.67 kB / 0.6488 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.2412, allocations: 4.344 kB / 0.6488 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003362/0.2415, allocations: 250.4 kB / 0.649 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.438e-05/0.2415, allocations: 14.02 kB / 0.6491 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.237e-05/0.2415, allocations: 21.77 kB / 0.6491 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003242/0.2419, allocations: 228.7 kB / 0.6493 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2419, allocations: 0.7812 kB / 0.6493 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2419, allocations: 0 / 0.6493 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.2419, allocations: 0 / 0.6493 GB, free: 55.82 MB / 0.5573 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.0004905/0.2424, allocations: 328.7 kB / 0.6496 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.2424, allocations: 12.22 kB / 0.6496 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.98e-05/0.2424, allocations: 34.84 kB / 0.6497 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002694/0.2427, allocations: 78.56 kB / 0.6497 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.453e-05/0.2428, allocations: 115.8 kB / 0.6498 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.2428, allocations: 3.062 kB / 0.6498 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.2428, allocations: 10.84 kB / 0.6499 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.2431, allocations: 157 kB / 0.65 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.2431, allocations: 3.875 kB / 0.65 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.2431, allocations: 8.656 kB / 0.65 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.2431, allocations: 1.562 kB / 0.65 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002603/0.2434, allocations: 102.3 kB / 0.6501 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004221/0.2438, allocations: 294.8 kB / 0.6504 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/0.2441, allocations: 149.7 kB / 0.6505 GB, free: 55 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.2442, allocations: 55.45 kB / 0.6506 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.2443, allocations: 3.5 kB / 0.6506 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.2443, allocations: 36.09 kB / 0.6506 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 2.595e-06/0.2443, allocations: 2.109 kB / 0.6506 GB, free: 54.95 MB / 0.5573 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.008979/0.2533, allocations: 2.69 MB / 0.6533 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.2533, allocations: 53.25 kB / 0.6533 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.702e-05/0.2534, allocations: 102.4 kB / 0.6534 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.2534, allocations: 28.77 kB / 0.6534 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.091e-05/0.2534, allocations: 91.48 kB / 0.6535 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.209e-05/0.2535, allocations: 36.78 kB / 0.6536 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.2536, allocations: 68.69 kB / 0.6536 GB, free: 54.28 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.78e-05/0.2536, allocations: 325.6 kB / 0.6539 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000378/0.254, allocations: 197.3 kB / 0.6541 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003619/0.2544, allocations: 187.4 kB / 0.6543 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007466/0.2551, allocations: 395.8 kB / 0.6547 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2551, allocations: 0 / 0.6547 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008919/0.256, allocations: 479.1 kB / 0.6551 GB, free: 53.76 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.256, allocations: 3.875 kB / 0.6551 GB, free: 53.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.256, allocations: 1.188 kB / 0.6551 GB, free: 53.76 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.2561, allocations: 0.75 kB / 0.6551 GB, free: 53.76 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000425/0.2565, allocations: 107.8 kB / 0.6552 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.2565, allocations: 0 / 0.6552 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.2568, allocations: 55.72 kB / 0.6553 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.658e-05/0.2568, allocations: 23.09 kB / 0.6553 GB, free: 53.74 MB / 0.5573 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.0001504/0.2569, allocations: 122.1 kB / 0.6554 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.325e-05/0.257, allocations: 7.766 kB / 0.6554 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.77e-05/0.257, allocations: 14 kB / 0.6555 GB, free: 53.6 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.257, allocations: 1.938 kB / 0.6555 GB, free: 53.6 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.2571, allocations: 4 kB / 0.6555 GB, free: 53.6 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.2571, allocations: 5.672 kB / 0.6555 GB, free: 53.6 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.2584, allocations: 0.9798 MB / 0.6564 GB, free: 52.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2584, allocations: 0 / 0.6564 GB, free: 52.97 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003861/0.2587, allocations: 112.1 kB / 0.6565 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.2588, allocations: 0 / 0.6565 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-05/0.2588, allocations: 26 kB / 0.6566 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.2588, allocations: 5.969 kB / 0.6566 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2588, allocations: 3.938 kB / 0.6566 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.2602, allocations: 0.7889 MB / 0.6573 GB, free: 52.65 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.2603, allocations: 40.69 kB / 0.6574 GB, free: 52.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.085e-05/0.2603, allocations: 5.312 kB / 0.6574 GB, free: 52.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000294/0.2606, allocations: 53.98 kB / 0.6574 GB, free: 52.63 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.799e-05/0.2607, allocations: 26.38 kB / 0.6575 GB, free: 52.63 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-05/0.2607, allocations: 27.94 kB / 0.6575 GB, free: 52.62 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.457e-05/0.2607, allocations: 84.19 kB / 0.6576 GB, free: 52.55 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2607, allocations: 2.625 kB / 0.6576 GB, free: 52.55 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003001/0.261, allocations: 57.55 kB / 0.6576 GB, free: 52.54 MB / 0.5573 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.001534/0.2626, allocations: 1.337 MB / 0.6589 GB, free: 51.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0008583/0.2634, allocations: 423.5 kB / 0.6593 GB, free: 51.61 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.2634, allocations: 1.75 kB / 0.6593 GB, free: 51.61 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003803/0.2638, allocations: 223.2 kB / 0.6595 GB, free: 51.57 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.2641, allocations: 13.84 kB / 0.6596 GB, free: 51.56 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004395/0.2685, allocations: 2.94 MB / 0.6624 GB, free: 49.99 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.813e-05/0.2686, allocations: 74.86 kB / 0.6625 GB, free: 49.92 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003326/0.2689, allocations: 94.84 kB / 0.6626 GB, free: 49.86 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.2691, allocations: 64.08 kB / 0.6626 GB, free: 49.84 MB / 0.5573 GB Notification: Performance of SimCode: time 1.242e-06/0.2691, allocations: 0 / 0.6626 GB, free: 49.84 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/0.2903, allocations: 5.497 MB / 0.668 GB, free: 48.81 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.726/7.016, allocations: 9.766 kB / 0.668 GB, free: 48.81 MB / 0.5573 GB " [Timeout remaining time 653] (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 os._exit(0), Time elapsed: 9.686531111598015] Failed to read output from testmodel.py, exit status != 0: 7.097005623392761 7.109472438 6.864159035 Calling exit ...