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.000868/0.000868, 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.0009298/0.0009298, allocations: 165.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.9275/0.9275, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.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.7295/0.7295, allocations: 154.6 MB / 413.7 MB, free: 0.8203 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.855e-05, allocations: 6.219 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001408/0.001437, allocations: 0.7778 MB / 0.6189 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.002982, allocations: 1.456 MB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.22e-05/0.003024, allocations: 4 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.336e-05/0.003058, allocations: 7.938 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.641e-05/0.003104, allocations: 3.938 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005035/0.003608, allocations: 146.7 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.475e-05/0.003692, allocations: 51.91 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.29e-05/0.003745, allocations: 11.97 kB / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.166e-05/0.003837, allocations: 35.91 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.95e-05/0.003897, allocations: 23.95 kB / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.003915, allocations: 4 kB / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002735/0.004189, allocations: 255.4 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.295e-05/0.004212, allocations: 19.91 kB / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.928e-05/0.004241, allocations: 11.98 kB / 0.6208 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.004505, allocations: 227.3 kB / 0.6211 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.004509, allocations: 0 / 0.6211 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.743e-06/0.004511, allocations: 4 kB / 0.6211 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.004516, allocations: 4 kB / 0.6211 GB, free: 10.6 MB / 0.5886 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.0005329/0.005049, allocations: 321.8 kB / 0.6214 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.005096, allocations: 13.47 kB / 0.6214 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.406e-05/0.00513, allocations: 34.75 kB / 0.6214 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002515/0.005381, allocations: 72.8 kB / 0.6215 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.144e-05/0.005463, allocations: 113.8 kB / 0.6216 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.00549, allocations: 4.375 kB / 0.6216 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.005512, allocations: 8.375 kB / 0.6216 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.005765, allocations: 165.5 kB / 0.6218 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.005778, allocations: 192 / 0.6218 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.005797, allocations: 12.12 kB / 0.6218 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.005803, allocations: 0 / 0.6218 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002425/0.006045, allocations: 103.9 kB / 0.6219 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004885/0.006534, allocations: 291.8 kB / 0.6222 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005373/0.007071, allocations: 162.3 kB / 0.6223 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.007183, allocations: 52.75 kB / 0.6224 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.007201, allocations: 4 kB / 0.6224 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.007231, allocations: 38.56 kB / 0.6224 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.933e-06/0.007233, allocations: 4 kB / 0.6224 GB, free: 9.082 MB / 0.5886 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.009229/0.01646, allocations: 2.679 MB / 0.625 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.01651, allocations: 51.41 kB / 0.6251 GB, free: 6.281 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.366e-05/0.01659, allocations: 101.8 kB / 0.6252 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.376e-05/0.01664, allocations: 33.7 kB / 0.6252 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.905e-05/0.01669, allocations: 84.09 kB / 0.6253 GB, free: 6.047 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.473e-05/0.01675, allocations: 43.67 kB / 0.6253 GB, free: 6.004 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.01687, allocations: 69.53 kB / 0.6254 GB, free: 5.93 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.236e-05/0.01696, allocations: 326.8 kB / 0.6257 GB, free: 5.602 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003664/0.01733, allocations: 191.8 kB / 0.6259 GB, free: 5.414 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003542/0.01768, allocations: 195.7 kB / 0.6261 GB, free: 5.223 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007329/0.01841, allocations: 388.7 kB / 0.6264 GB, free: 4.84 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.01842, allocations: 4 kB / 0.6264 GB, free: 4.836 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009037/0.01932, allocations: 476.5 kB / 0.6269 GB, free: 4.367 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.01935, allocations: 4 kB / 0.6269 GB, free: 4.363 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.01935, allocations: 1.016 kB / 0.6269 GB, free: 4.363 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.01937, allocations: 0 / 0.6269 GB, free: 4.363 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004305/0.01981, allocations: 111.7 kB / 0.627 GB, free: 4.254 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.01981, allocations: 0 / 0.627 GB, free: 4.254 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002726/0.02009, allocations: 51.88 kB / 0.6271 GB, free: 4.203 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-05/0.02013, allocations: 27.92 kB / 0.6271 GB, free: 4.176 MB / 0.5886 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.0001536/0.02028, allocations: 114.8 kB / 0.6272 GB, free: 4.055 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.906e-05/0.02034, allocations: 7.953 kB / 0.6272 GB, free: 4.047 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.497e-05/0.02039, allocations: 12.12 kB / 0.6272 GB, free: 4.031 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.0204, allocations: 0 / 0.6272 GB, free: 4.031 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.0204, allocations: 0 / 0.6272 GB, free: 4.031 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.02041, allocations: 7.984 kB / 0.6272 GB, free: 4.023 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.02181, allocations: 0.9816 MB / 0.6282 GB, free: 2.938 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.02181, allocations: 4 kB / 0.6282 GB, free: 2.934 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003792/0.02219, allocations: 107.8 kB / 0.6283 GB, free: 2.828 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.02219, allocations: 3.984 kB / 0.6283 GB, free: 2.824 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/0.02223, allocations: 27.92 kB / 0.6283 GB, free: 2.797 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-06/0.02223, allocations: 3.938 kB / 0.6283 GB, free: 2.793 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.02223, allocations: 0 / 0.6283 GB, free: 2.793 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.02375, allocations: 0.7918 MB / 0.6291 GB, free: 1.984 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.02386, allocations: 47.81 kB / 0.6291 GB, free: 1.938 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.0239, allocations: 4 kB / 0.6291 GB, free: 1.934 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002996/0.0242, allocations: 51.94 kB / 0.6292 GB, free: 1.883 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.164e-05/0.02426, allocations: 23.92 kB / 0.6292 GB, free: 1.859 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.391e-05/0.02429, allocations: 23.94 kB / 0.6292 GB, free: 1.836 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.384e-05/0.02433, allocations: 87.27 kB / 0.6293 GB, free: 1.75 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.02433, allocations: 0 / 0.6293 GB, free: 1.75 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003457/0.02467, allocations: 55.94 kB / 0.6294 GB, free: 1.695 MB / 0.5886 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.001638/0.02631, allocations: 1.339 MB / 0.6307 GB, free: 340 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0008611/0.02717, allocations: 419.5 kB / 0.6311 GB, free: 15.92 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.02718, allocations: 4 kB / 0.6311 GB, free: 15.92 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003846/0.02756, allocations: 219.7 kB / 0.6313 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.02792, allocations: 20.17 kB / 0.6313 GB, free: 15.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004832/0.03276, allocations: 2.927 MB / 0.6342 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.922e-05/0.03282, allocations: 75.33 kB / 0.6342 GB, free: 12.58 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003316/0.03315, allocations: 92.72 kB / 0.6343 GB, free: 12.49 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.03336, allocations: 64.36 kB / 0.6344 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of SimCode: time 1.352e-06/0.03336, allocations: 0 / 0.6344 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02739/0.06075, allocations: 5.473 MB / 0.6397 GB, free: 7.133 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.099/7.159, allocations: 10.39 kB / 0.6397 GB, free: 7.125 MB / 0.6042 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: 9.927538805641234] Failed to read output from testmodel.py, exit status != 0: 7.241468043066561 7.250471061 7.244032176 Calling exit ...