Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0007133/0.0007133, allocations: 109.5 kB / 18.95 MB, free: 1.184 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.0008154/0.0008154, allocations: 216 kB / 22.25 MB, free: 3.73 MB / 13.93 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.022/1.022, allocations: 230.6 MB / 256 MB, free: 9.629 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7745/0.7745, allocations: 203.8 MB / 0.5042 GB, free: 10.5 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.0007708/0.0007708, allocations: 70.11 kB / 0.7182 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5147/0.5154, allocations: 102 MB / 0.8179 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001623/0.5171, allocations: 0.7656 MB / 0.8186 GB, free: 0.5625 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.5184, allocations: 1.469 MB / 0.82 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.509e-05/0.5184, allocations: 1.094 kB / 0.82 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.307e-05/0.5184, allocations: 4.547 kB / 0.82 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.946e-05/0.5185, allocations: 0 / 0.82 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000485/0.519, allocations: 153.2 kB / 0.8202 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.487e-05/0.519, allocations: 52.64 kB / 0.8202 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.55e-05/0.5191, allocations: 7.453 kB / 0.8202 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.293e-05/0.5192, allocations: 26.25 kB / 0.8203 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.464e-05/0.5192, allocations: 26.94 kB / 0.8203 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.5192, allocations: 2.875 kB / 0.8203 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002957/0.5195, allocations: 250.6 kB / 0.8205 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.091e-05/0.5195, allocations: 17.52 kB / 0.8206 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.766e-05/0.5196, allocations: 29.59 kB / 0.8206 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.5198, allocations: 195.9 kB / 0.8208 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.5198, allocations: 0 / 0.8208 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5198, allocations: 0 / 0.8208 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.341e-06/0.5198, allocations: 0.7031 kB / 0.8208 GB, free: 15.27 MB / 0.6198 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.0004611/0.5203, allocations: 330.8 kB / 0.8211 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.5203, allocations: 9.922 kB / 0.8211 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.292e-05/0.5204, allocations: 39.08 kB / 0.8211 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002442/0.5206, allocations: 74.7 kB / 0.8212 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.661e-05/0.5207, allocations: 117.9 kB / 0.8213 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.5207, allocations: 8.812 kB / 0.8213 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.5207, allocations: 10.08 kB / 0.8213 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.521, allocations: 158.8 kB / 0.8215 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.521, allocations: 0 / 0.8215 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.521, allocations: 9.375 kB / 0.8215 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.521, allocations: 1.562 kB / 0.8215 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002365/0.5212, allocations: 101.8 kB / 0.8216 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000398/0.5216, allocations: 300.5 kB / 0.8219 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003429/0.522, allocations: 154.3 kB / 0.822 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.5221, allocations: 53.81 kB / 0.8221 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.5221, allocations: 1.5 kB / 0.8221 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.5221, allocations: 36.44 kB / 0.8221 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.5221, allocations: 0 / 0.8221 GB, free: 14.26 MB / 0.6198 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.009444/0.5316, allocations: 2.683 MB / 0.8247 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.5316, allocations: 60.09 kB / 0.8248 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.839e-05/0.5317, allocations: 96.78 kB / 0.8249 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.756e-05/0.5317, allocations: 30.89 kB / 0.8249 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.5318, allocations: 99.53 kB / 0.825 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.343e-05/0.5318, allocations: 49.53 kB / 0.8251 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.5319, allocations: 65.7 kB / 0.8251 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.763e-05/0.532, allocations: 316.9 kB / 0.8254 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003815/0.5324, allocations: 187.9 kB / 0.8256 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003912/0.5328, allocations: 198.2 kB / 0.8258 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008169/0.5336, allocations: 391.3 kB / 0.8262 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.5336, allocations: 0 / 0.8262 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009212/0.5345, allocations: 477 kB / 0.8266 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.5345, allocations: 9.312 kB / 0.8266 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.5345, allocations: 0 / 0.8266 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.5345, allocations: 1.938 kB / 0.8266 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004888/0.535, allocations: 110.3 kB / 0.8267 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.535, allocations: 0 / 0.8267 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002792/0.5353, allocations: 50.86 kB / 0.8268 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-05/0.5354, allocations: 24.27 kB / 0.8268 GB, free: 12.6 MB / 0.6198 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.0001028/0.5355, allocations: 112.4 kB / 0.8269 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.677e-05/0.5355, allocations: 12.95 kB / 0.8269 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.686e-05/0.5355, allocations: 12.72 kB / 0.8269 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.5356, allocations: 6.969 kB / 0.8269 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.5356, allocations: 0 / 0.8269 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.5356, allocations: 0.75 kB / 0.8269 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.537, allocations: 0.9865 MB / 0.8279 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.537, allocations: 0.9375 kB / 0.8279 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004162/0.5374, allocations: 109.4 kB / 0.828 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.5374, allocations: 2.094 kB / 0.828 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.467e-05/0.5374, allocations: 30.7 kB / 0.828 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.5374, allocations: 0 / 0.828 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.5374, allocations: 8.797 kB / 0.828 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.5391, allocations: 0.7942 MB / 0.8288 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.5392, allocations: 44.95 kB / 0.8289 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.483e-05/0.5393, allocations: 5.094 kB / 0.8289 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003387/0.5396, allocations: 48.23 kB / 0.8289 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.959e-05/0.5397, allocations: 26.11 kB / 0.8289 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.447e-05/0.5397, allocations: 28.48 kB / 0.829 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.94e-05/0.5398, allocations: 79.41 kB / 0.829 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5398, allocations: 0 / 0.829 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003489/0.5401, allocations: 59.27 kB / 0.8291 GB, free: 11.36 MB / 0.6198 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.0018/0.5419, allocations: 1.338 MB / 0.8304 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001002/0.5429, allocations: 418.4 kB / 0.8308 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5429, allocations: 3.938 kB / 0.8308 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004684/0.5434, allocations: 217.6 kB / 0.831 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.5437, allocations: 12.55 kB / 0.831 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00492/0.5486, allocations: 2.944 MB / 0.8339 GB, free: 8.434 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.98e-05/0.5487, allocations: 79.58 kB / 0.834 GB, free: 8.352 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002968/0.549, allocations: 92.08 kB / 0.8341 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.5492, allocations: 62.52 kB / 0.8341 GB, free: 8.242 MB / 0.6198 GB Notification: Performance of SimCode: time 6.31e-07/0.5492, allocations: 1.094 kB / 0.8341 GB, free: 8.242 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.5676, allocations: 5.339 MB / 0.8393 GB, free: 5.129 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.594/7.161, allocations: 4.297 kB / 0.8393 GB, free: 5.129 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.274453978985548] Failed to read output from testmodel.py, exit status != 0: 7.242150690872222 7.25658741 6.73467009 Calling exit ...