Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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.0008312/0.0008312, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008075/0.0008075, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8983/0.8983, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.724/1.724, allocations: 377.8 MB / 0.6221 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.981 GB, free: 1.375 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.316e-05/1.466e-05, allocations: 2.281 kB / 0.981 GB, free: 1.371 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001746/0.00176, allocations: 0.7791 MB / 0.9818 GB, free: 0.5938 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.00199/0.003751, allocations: 1.454 MB / 0.9832 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.968e-05/0.00379, allocations: 8 kB / 0.9832 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.098e-05/0.003821, allocations: 3.938 kB / 0.9832 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.946e-05/0.003861, allocations: 0 / 0.9832 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005539/0.004415, allocations: 151.3 kB / 0.9834 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.584e-05/0.00451, allocations: 47.89 kB / 0.9834 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.412e-05/0.004555, allocations: 4 kB / 0.9834 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.004655, allocations: 39.91 kB / 0.9834 GB, free: 14.87 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.743e-05/0.004712, allocations: 23.95 kB / 0.9835 GB, free: 14.85 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.004731, allocations: 4 kB / 0.9835 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003698/0.005101, allocations: 251.4 kB / 0.9837 GB, free: 14.6 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.552e-05/0.005127, allocations: 19.97 kB / 0.9837 GB, free: 14.58 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.019e-05/0.005157, allocations: 15.92 kB / 0.9837 GB, free: 14.56 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0003213/0.005478, allocations: 219.5 kB / 0.984 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.00548, allocations: 0 / 0.984 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.41e-07/0.005481, allocations: 8 kB / 0.984 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.005485, allocations: 3.938 kB / 0.984 GB, free: 14.34 MB / 0.9011 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.0005656/0.006051, allocations: 325.8 kB / 0.9843 GB, free: 13.99 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.006091, allocations: 12.03 kB / 0.9843 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.205e-05/0.006133, allocations: 38.75 kB / 0.9843 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003567/0.00649, allocations: 72.84 kB / 0.9844 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.535e-05/0.006585, allocations: 113.6 kB / 0.9845 GB, free: 13.72 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.006615, allocations: 12.31 kB / 0.9845 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.006641, allocations: 8.375 kB / 0.9845 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003442/0.006985, allocations: 160.1 kB / 0.9847 GB, free: 13.53 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.007, allocations: 4.172 kB / 0.9847 GB, free: 13.53 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.007015, allocations: 8.125 kB / 0.9847 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.00702, allocations: 0 / 0.9847 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003815/0.007401, allocations: 99.91 kB / 0.9848 GB, free: 13.42 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005505/0.007952, allocations: 303.7 kB / 0.9851 GB, free: 13.08 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000506/0.008458, allocations: 146.5 kB / 0.9852 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.008641, allocations: 64.73 kB / 0.9853 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.008656, allocations: 0 / 0.9853 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.008689, allocations: 34.56 kB / 0.9853 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=7): time 1.704e-06/0.00869, allocations: 4 kB / 0.9853 GB, free: 12.82 MB / 0.9011 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.009041/0.01773, allocations: 2.688 MB / 0.9879 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.01776, allocations: 51.41 kB / 0.988 GB, free: 10.01 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.062e-05/0.01781, allocations: 97.86 kB / 0.9881 GB, free: 9.902 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.01785, allocations: 29.7 kB / 0.9881 GB, free: 9.867 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.986e-05/0.01788, allocations: 100 kB / 0.9882 GB, free: 9.766 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.01793, allocations: 35.69 kB / 0.9882 GB, free: 9.73 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.791e-05/0.01803, allocations: 73.56 kB / 0.9883 GB, free: 9.652 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.01813, allocations: 322.8 kB / 0.9886 GB, free: 9.328 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003505/0.01848, allocations: 191.8 kB / 0.9888 GB, free: 9.141 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003545/0.01884, allocations: 199.9 kB / 0.989 GB, free: 8.945 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007567/0.01959, allocations: 390.2 kB / 0.9894 GB, free: 8.562 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.01959, allocations: 4 kB / 0.9894 GB, free: 8.559 MB / 0.9011 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008427/0.02044, allocations: 477.1 kB / 0.9898 GB, free: 8.086 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.02045, allocations: 4 kB / 0.9898 GB, free: 8.082 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.02045, allocations: 320 / 0.9898 GB, free: 8.082 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.02047, allocations: 0 / 0.9898 GB, free: 8.082 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004371/0.0209, allocations: 111.7 kB / 0.9899 GB, free: 7.973 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.02091, allocations: 0 / 0.9899 GB, free: 7.973 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.02117, allocations: 55.81 kB / 0.99 GB, free: 7.918 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/0.0212, allocations: 27.92 kB / 0.99 GB, free: 7.891 MB / 0.9011 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.0001001/0.0213, allocations: 117.8 kB / 0.9901 GB, free: 7.766 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.253e-05/0.02135, allocations: 7.953 kB / 0.9901 GB, free: 7.758 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.806e-05/0.02139, allocations: 12.12 kB / 0.9901 GB, free: 7.746 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.02139, allocations: 0 / 0.9901 GB, free: 7.746 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.0214, allocations: 4.094 kB / 0.9901 GB, free: 7.742 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.0214, allocations: 3.938 kB / 0.9901 GB, free: 7.738 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.02267, allocations: 0.9877 MB / 0.9911 GB, free: 6.648 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.02268, allocations: 0 / 0.9911 GB, free: 6.648 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003574/0.02303, allocations: 111.7 kB / 0.9912 GB, free: 6.539 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.02304, allocations: 0 / 0.9912 GB, free: 6.539 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.02307, allocations: 23.94 kB / 0.9912 GB, free: 6.516 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.02307, allocations: 3.938 kB / 0.9912 GB, free: 6.512 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.02307, allocations: 0 / 0.9912 GB, free: 6.512 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.02453, allocations: 0.7997 MB / 0.992 GB, free: 5.695 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 9.491e-05/0.02462, allocations: 35.94 kB / 0.9921 GB, free: 5.66 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/0.02466, allocations: 0 / 0.9921 GB, free: 5.66 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002909/0.02495, allocations: 55.94 kB / 0.9921 GB, free: 5.605 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6e-05/0.02501, allocations: 23.92 kB / 0.9921 GB, free: 5.582 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.02504, allocations: 27.92 kB / 0.9922 GB, free: 5.555 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 2.378e-05/0.02507, allocations: 79.28 kB / 0.9922 GB, free: 5.477 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.02507, allocations: 0 / 0.9922 GB, free: 5.477 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002515/0.02532, allocations: 55.94 kB / 0.9923 GB, free: 5.422 MB / 0.9011 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.001544/0.02686, allocations: 1.341 MB / 0.9936 GB, free: 4.055 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0007969/0.02766, allocations: 424.6 kB / 0.994 GB, free: 3.641 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.02766, allocations: 0 / 0.994 GB, free: 3.641 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003826/0.02804, allocations: 227.7 kB / 0.9942 GB, free: 3.418 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.02832, allocations: 17.38 kB / 0.9942 GB, free: 3.402 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00473/0.03305, allocations: 2.925 MB / 0.9971 GB, free: 400 kB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.106e-05/0.0331, allocations: 75.33 kB / 0.9972 GB, free: 304 kB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002961/0.0334, allocations: 97.14 kB / 0.9973 GB, free: 208 kB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/0.0336, allocations: 64.36 kB / 0.9973 GB, free: 144 kB / 0.9011 GB Notification: Performance of SimCode: time 9.72e-07/0.0336, allocations: 0 / 0.9973 GB, free: 144 kB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01869/0.05229, allocations: 5.491 MB / 1.003 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.039/7.091, allocations: 2.188 kB / 1.003 GB, free: 10.8 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv --start-time -1.5 --stop-time 1.5 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0012 Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 11.163048287853599] Failed to read output from testmodel.py, exit status != 0: 7.173980583436787 7.184477966 7.176143768 Calling exit ...