Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.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.001357/0.001357, allocations: 71.75 kB / 19.03 MB, free: 1.23 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.001544/0.001544, allocations: 162.6 kB / 22.29 MB, free: 3.625 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.402/1.402, allocations: 177.2 MB / 202.7 MB, free: 4.793 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.212/1.212, allocations: 154.7 MB / 413.8 MB, free: 3.141 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="IDEAS_IDEAS_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="IDEAS_IDEAS_Electrical_DC_Lines_Examples_Resistance",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.002013/0.002013, allocations: 67.03 kB / 0.618 GB, free: 1.145 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1992, allocations: 102 MB / 0.7176 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.005949/0.2051, allocations: 3.034 MB / 0.7206 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003543/0.2087, allocations: 1.309 MB / 0.7219 GB, free: 6.914 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002714/0.209, allocations: 7.938 kB / 0.7219 GB, free: 6.906 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001318/0.2103, allocations: 338.8 kB / 0.7222 GB, free: 6.574 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005415/0.2108, allocations: 143.3 kB / 0.7223 GB, free: 6.434 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004904/0.2113, allocations: 135.6 kB / 0.7225 GB, free: 6.301 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005929/0.2119, allocations: 318.7 kB / 0.7228 GB, free: 5.988 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004688/0.2124, allocations: 176.7 kB / 0.7229 GB, free: 5.816 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000308/0.2127, allocations: 179.5 kB / 0.7231 GB, free: 5.641 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000366/0.213, allocations: 135.5 kB / 0.7232 GB, free: 5.508 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.941e-05/0.2131, allocations: 16 kB / 0.7232 GB, free: 5.492 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003164/0.2134, allocations: 151.6 kB / 0.7234 GB, free: 5.344 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.2135, allocations: 83.73 kB / 0.7235 GB, free: 5.262 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.2136, allocations: 99.53 kB / 0.7236 GB, free: 5.164 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005248/0.2142, allocations: 330.8 kB / 0.7239 GB, free: 4.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.2142, allocations: 4 kB / 0.7239 GB, free: 4.836 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2142, allocations: 4 kB / 0.7239 GB, free: 4.832 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.2142, allocations: 0 / 0.7239 GB, free: 4.832 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009959/0.2152, allocations: 459.6 kB / 0.7243 GB, free: 4.352 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.2152, allocations: 8.031 kB / 0.7243 GB, free: 4.344 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.879e-05/0.2153, allocations: 62.66 kB / 0.7244 GB, free: 4.273 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005888/0.2159, allocations: 80.72 kB / 0.7245 GB, free: 4.195 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.2163, allocations: 182.2 kB / 0.7246 GB, free: 3.992 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.2163, allocations: 20.75 kB / 0.7247 GB, free: 3.973 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.927e-05/0.2163, allocations: 20.36 kB / 0.7247 GB, free: 3.953 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006306/0.217, allocations: 384.6 kB / 0.725 GB, free: 3.539 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.217, allocations: 0 / 0.725 GB, free: 3.539 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.961e-05/0.217, allocations: 12 kB / 0.7251 GB, free: 3.527 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.524e-05/0.2171, allocations: 12.38 kB / 0.7251 GB, free: 3.516 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/0.2175, allocations: 196.9 kB / 0.7253 GB, free: 3.324 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.2192, allocations: 1.039 MB / 0.7263 GB, free: 2.215 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.2195, allocations: 94.55 kB / 0.7264 GB, free: 2.113 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.693e-05/0.2196, allocations: 28.84 kB / 0.7264 GB, free: 2.082 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.836e-06/0.2196, allocations: 0 / 0.7264 GB, free: 2.082 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.2196, allocations: 38.56 kB / 0.7264 GB, free: 2.035 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.2196, allocations: 0 / 0.7264 GB, free: 2.035 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005117/0.2201, allocations: 146.3 kB / 0.7266 GB, free: 1.883 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.2202, allocations: 55.41 kB / 0.7266 GB, free: 1.816 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004007/0.2206, allocations: 202.9 kB / 0.7268 GB, free: 1.609 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.2206, allocations: 25.7 kB / 0.7268 GB, free: 1.578 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.2207, allocations: 172.1 kB / 0.727 GB, free: 1.406 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.2208, allocations: 27.78 kB / 0.727 GB, free: 1.379 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.713e-05/0.2208, allocations: 37.67 kB / 0.7271 GB, free: 1.336 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.221, allocations: 326.8 kB / 0.7274 GB, free: 1.008 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.708e-05/0.2211, allocations: 35.98 kB / 0.7274 GB, free: 0.9727 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.2212, allocations: 104.6 kB / 0.7275 GB, free: 0.8398 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.2215, allocations: 148.3 kB / 0.7277 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.2215, allocations: 0 / 0.7277 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003933/0.2218, allocations: 190.1 kB / 0.7278 GB, free: 480 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.2219, allocations: 11.98 kB / 0.7278 GB, free: 468 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.2219, allocations: 0 / 0.7278 GB, free: 468 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001833/0.2221, allocations: 24.84 kB / 0.7279 GB, free: 440 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.2222, allocations: 27.94 kB / 0.7279 GB, free: 412 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001528/0.2237, allocations: 1.323 MB / 0.7292 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.2239, allocations: 23.78 kB / 0.7292 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.2239, allocations: 4 kB / 0.7292 GB, free: 14.93 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001746/0.2241, allocations: 145.8 kB / 0.7294 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/0.2241, allocations: 15.91 kB / 0.7294 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.126e-05/0.2242, allocations: 25.61 kB / 0.7294 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.2242, allocations: 0 / 0.7294 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.2242, allocations: 0 / 0.7294 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.2242, allocations: 4 kB / 0.7294 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000661/0.2248, allocations: 402.4 kB / 0.7298 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.2248, allocations: 4 kB / 0.7298 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.199e-05/0.2249, allocations: 8 kB / 0.7298 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001057/0.225, allocations: 24.78 kB / 0.7298 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.225, allocations: 4 kB / 0.7298 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001224/0.2262, allocations: 1.303 MB / 0.7311 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2262, allocations: 0 / 0.7311 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.2265, allocations: 220.2 kB / 0.7313 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-05/0.2266, allocations: 23.83 kB / 0.7313 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.2266, allocations: 4 kB / 0.7313 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.2267, allocations: 4 kB / 0.7313 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.2267, allocations: 16.12 kB / 0.7313 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.2267, allocations: 0 / 0.7313 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001596/0.2269, allocations: 149 kB / 0.7315 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.2269, allocations: 3.938 kB / 0.7315 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003577/0.2272, allocations: 51.89 kB / 0.7315 GB, free: 12.35 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006556/0.2279, allocations: 0.7405 MB / 0.7323 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004446/0.2283, allocations: 206.7 kB / 0.7325 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2284, allocations: 0 / 0.7325 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.2285, allocations: 154.6 kB / 0.7326 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.2289, allocations: 39.36 kB / 0.7326 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002853/0.2318, allocations: 2.048 MB / 0.7346 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001811/0.2319, allocations: 135.8 kB / 0.7348 GB, free: 8.828 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001085/0.2321, allocations: 25.48 kB / 0.7348 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.888e-05/0.2322, allocations: 60.47 kB / 0.7349 GB, free: 8.742 MB / 0.6355 GB Notification: Performance of SimCode: time 6.61e-07/0.2322, allocations: 0 / 0.7349 GB, free: 8.742 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04057/0.2727, allocations: 4.489 MB / 0.7392 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.78, allocations: 3.938 kB / 0.7392 GB, free: 4.41 MB / 0.6355 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_DC_Lines_Examples_Resistance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_DC_Lines_Examples_Resistance.fmu > IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.806033533997834] Failed to read output from testmodel.py, exit status != 0: 11.89682167400315 11.922954864 11.703852338999999 Calling exit ...