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.0008225/0.0008225, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009637/0.0009637, allocations: 222.9 kB / 22.26 MB, free: 3.691 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 0.9672/0.9672, allocations: 230.6 MB / 256 MB, free: 9.816 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.7822/0.7822, allocations: 203.8 MB / 0.5042 GB, free: 10.76 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.0009757/0.0009757, allocations: 74.59 kB / 0.7183 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4917/0.4927, allocations: 102 MB / 0.8179 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001527/0.4942, allocations: 0.8075 MB / 0.8187 GB, free: 0.7617 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.4956, allocations: 1.556 MB / 0.8202 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.687e-05/0.4956, allocations: 0 / 0.8202 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.66e-05/0.4957, allocations: 0.7031 kB / 0.8202 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.38e-05/0.4957, allocations: 3.938 kB / 0.8202 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004969/0.4962, allocations: 150 kB / 0.8204 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.564e-05/0.4963, allocations: 48.31 kB / 0.8204 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.71e-05/0.4963, allocations: 5.359 kB / 0.8204 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.631e-05/0.4964, allocations: 31.38 kB / 0.8204 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.766e-05/0.4965, allocations: 36.78 kB / 0.8205 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.4965, allocations: 3.938 kB / 0.8205 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003842/0.4969, allocations: 316.5 kB / 0.8208 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.212e-05/0.4969, allocations: 14.41 kB / 0.8208 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.152e-05/0.497, allocations: 25.94 kB / 0.8208 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003169/0.4973, allocations: 214.9 kB / 0.821 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4973, allocations: 0 / 0.821 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4973, allocations: 3.938 kB / 0.821 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.4973, allocations: 0 / 0.821 GB, free: 15.33 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.0004779/0.4978, allocations: 334.4 kB / 0.8213 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.4978, allocations: 9.969 kB / 0.8214 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.039e-05/0.4979, allocations: 35.08 kB / 0.8214 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002732/0.4981, allocations: 75.42 kB / 0.8215 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.4982, allocations: 114.9 kB / 0.8216 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/0.4983, allocations: 2.688 kB / 0.8216 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.4983, allocations: 11.45 kB / 0.8216 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/0.4986, allocations: 112.5 kB / 0.8217 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.4986, allocations: 2.812 kB / 0.8217 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.4986, allocations: 7.984 kB / 0.8217 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.4986, allocations: 0 / 0.8217 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00028/0.4989, allocations: 103.3 kB / 0.8218 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000625/0.4995, allocations: 304.2 kB / 0.8221 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004387/0.5, allocations: 156.4 kB / 0.8222 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.5001, allocations: 57.27 kB / 0.8223 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.5001, allocations: 4 kB / 0.8223 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.5002, allocations: 31.55 kB / 0.8223 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.5002, allocations: 0 / 0.8223 GB, free: 14.39 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.009784/0.51, allocations: 2.678 MB / 0.8249 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.51, allocations: 59.83 kB / 0.825 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.119e-05/0.5101, allocations: 104.9 kB / 0.8251 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/0.5101, allocations: 25.7 kB / 0.8251 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.991e-05/0.5102, allocations: 95.61 kB / 0.8252 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.474e-05/0.5102, allocations: 35.67 kB / 0.8252 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.5104, allocations: 68.72 kB / 0.8253 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.773e-05/0.5105, allocations: 317.8 kB / 0.8256 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004534/0.5109, allocations: 194 kB / 0.8258 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004159/0.5113, allocations: 200.6 kB / 0.826 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008498/0.5122, allocations: 391.2 kB / 0.8264 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.5122, allocations: 0 / 0.8264 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001005/0.5132, allocations: 477.2 kB / 0.8268 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.5132, allocations: 6.719 kB / 0.8268 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.5132, allocations: 0 / 0.8268 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.5132, allocations: 5.156 kB / 0.8268 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004178/0.5136, allocations: 119.7 kB / 0.8269 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.5137, allocations: 1.5 kB / 0.8269 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002779/0.5139, allocations: 48.69 kB / 0.827 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-05/0.514, allocations: 23.94 kB / 0.827 GB, free: 12.72 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.0001118/0.5141, allocations: 118.5 kB / 0.8271 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.5141, allocations: 6.453 kB / 0.8271 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.23e-05/0.5142, allocations: 10.64 kB / 0.8271 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.5142, allocations: 5.188 kB / 0.8271 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.5142, allocations: 0.7031 kB / 0.8272 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.5142, allocations: 2.078 kB / 0.8272 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.5157, allocations: 1.029 MB / 0.8282 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.5157, allocations: 0 / 0.8282 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003999/0.5161, allocations: 113.5 kB / 0.8283 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.5161, allocations: 2.141 kB / 0.8283 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.938e-05/0.5161, allocations: 21.73 kB / 0.8283 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.5161, allocations: 0.6094 kB / 0.8283 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5161, allocations: 1.438 kB / 0.8283 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/0.5176, allocations: 0.7948 MB / 0.8291 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.5178, allocations: 44.94 kB / 0.8291 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/0.5178, allocations: 1.672 kB / 0.8291 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003123/0.5181, allocations: 47.5 kB / 0.8292 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.553e-05/0.5182, allocations: 30.05 kB / 0.8292 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.033e-05/0.5182, allocations: 28.05 kB / 0.8292 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.085e-05/0.5183, allocations: 80 kB / 0.8293 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5183, allocations: 0 / 0.8293 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003054/0.5186, allocations: 55.86 kB / 0.8293 GB, free: 11.49 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.001718/0.5203, allocations: 1.341 MB / 0.8306 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008652/0.5212, allocations: 414 kB / 0.831 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5212, allocations: 1.344 kB / 0.831 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004119/0.5216, allocations: 228.8 kB / 0.8313 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.5219, allocations: 8.672 kB / 0.8313 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004549/0.5264, allocations: 2.94 MB / 0.8341 GB, free: 8.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/0.5266, allocations: 0.6914 MB / 0.8348 GB, free: 7.887 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003107/0.5269, allocations: 87.11 kB / 0.8349 GB, free: 7.832 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001955/0.5271, allocations: 63.61 kB / 0.835 GB, free: 7.781 MB / 0.6198 GB Notification: Performance of SimCode: time 6.51e-07/0.5271, allocations: 4 kB / 0.835 GB, free: 7.777 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01704/0.5441, allocations: 4.8 MB / 0.8397 GB, free: 5.188 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.572/7.116, allocations: 1.344 kB / 0.8397 GB, free: 5.188 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --stepSize=0.0012 --timeout=50 --tolerance=1e-08 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.096711939200759] Failed to read output from testmodel.py, exit status != 0: 7.194764274870977 7.205152043 6.70551023 Calling exit ...