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.0008976/0.0008976, 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.0009189/0.0009189, allocations: 169.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.9103/0.9103, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7428/0.7428, allocations: 154.6 MB / 413.8 MB, free: 0.7969 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: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.244e-05/2.439e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.00386/0.003884, allocations: 3.033 MB / 0.621 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001615/0.005499, allocations: 1.313 MB / 0.6223 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.005635, allocations: 7.938 kB / 0.6223 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0008329/0.006467, allocations: 326.7 kB / 0.6226 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003395/0.006807, allocations: 155 kB / 0.6228 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000297/0.007104, allocations: 135.6 kB / 0.6229 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003113/0.007415, allocations: 314.8 kB / 0.6232 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003915/0.007807, allocations: 188.6 kB / 0.6234 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.00798, allocations: 171.6 kB / 0.6236 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002713/0.008251, allocations: 127.6 kB / 0.6237 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.008279, allocations: 24 kB / 0.6237 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002279/0.008507, allocations: 151.6 kB / 0.6238 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.226e-05/0.008589, allocations: 83.73 kB / 0.6239 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.585e-05/0.008665, allocations: 83.81 kB / 0.624 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003636/0.009029, allocations: 335 kB / 0.6243 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.009034, allocations: 0 / 0.6243 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.593e-06/0.009035, allocations: 0 / 0.6243 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.812e-06/0.009042, allocations: 0 / 0.6243 GB, free: 7.273 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007476/0.00979, allocations: 461.4 kB / 0.6248 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.009835, allocations: 12.03 kB / 0.6248 GB, free: 6.777 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.746e-05/0.009882, allocations: 50.73 kB / 0.6248 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003576/0.01024, allocations: 80.72 kB / 0.6249 GB, free: 6.641 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.01051, allocations: 187.3 kB / 0.6251 GB, free: 6.434 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.01053, allocations: 12.75 kB / 0.6251 GB, free: 6.422 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.01055, allocations: 20.38 kB / 0.6251 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003787/0.01093, allocations: 381.3 kB / 0.6255 GB, free: 5.992 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.01094, allocations: 192 / 0.6255 GB, free: 5.992 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.01096, allocations: 12.12 kB / 0.6255 GB, free: 5.98 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.797e-05/0.01099, allocations: 12.38 kB / 0.6255 GB, free: 5.969 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002208/0.01121, allocations: 200.9 kB / 0.6257 GB, free: 5.773 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001333/0.01254, allocations: 1.031 MB / 0.6267 GB, free: 4.668 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.01274, allocations: 106.4 kB / 0.6268 GB, free: 4.555 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.428e-05/0.01279, allocations: 32.94 kB / 0.6268 GB, free: 4.52 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.376e-06/0.0128, allocations: 3.984 kB / 0.6268 GB, free: 4.516 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.01282, allocations: 34.56 kB / 0.6269 GB, free: 4.473 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.734e-06/0.01282, allocations: 0 / 0.6269 GB, free: 4.473 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0003432/0.01316, allocations: 146.3 kB / 0.627 GB, free: 4.32 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.01319, allocations: 55.41 kB / 0.6271 GB, free: 4.254 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.01334, allocations: 204.1 kB / 0.6273 GB, free: 4.047 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.01335, allocations: 25.7 kB / 0.6273 GB, free: 4.016 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.005e-05/0.01343, allocations: 172 kB / 0.6274 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.01345, allocations: 27.78 kB / 0.6275 GB, free: 3.816 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.01349, allocations: 29.67 kB / 0.6275 GB, free: 3.781 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.116e-05/0.01357, allocations: 330.8 kB / 0.6278 GB, free: 3.449 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.752e-05/0.01362, allocations: 35.97 kB / 0.6278 GB, free: 3.414 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.448e-05/0.01369, allocations: 100.5 kB / 0.6279 GB, free: 3.285 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.01382, allocations: 156.4 kB / 0.6281 GB, free: 3.102 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.01382, allocations: 0 / 0.6281 GB, free: 3.102 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002205/0.01405, allocations: 190.3 kB / 0.6283 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.01406, allocations: 8 kB / 0.6283 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.01407, allocations: 0 / 0.6283 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001412/0.01421, allocations: 24.84 kB / 0.6283 GB, free: 2.871 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.657e-05/0.01428, allocations: 31.92 kB / 0.6283 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007751/0.01506, allocations: 1.323 MB / 0.6296 GB, free: 1.406 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.513e-05/0.01513, allocations: 11.89 kB / 0.6296 GB, free: 1.395 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.01514, allocations: 8 kB / 0.6296 GB, free: 1.387 MB / 0.5886 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.0001088/0.01525, allocations: 146.9 kB / 0.6298 GB, free: 1.234 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.01528, allocations: 23.78 kB / 0.6298 GB, free: 1.211 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.957e-05/0.0153, allocations: 17.47 kB / 0.6298 GB, free: 1.191 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.0153, allocations: 0 / 0.6298 GB, free: 1.191 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.0153, allocations: 7.922 kB / 0.6298 GB, free: 1.184 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.01531, allocations: 4.031 kB / 0.6298 GB, free: 1.18 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003584/0.01567, allocations: 398.5 kB / 0.6302 GB, free: 0.7383 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01567, allocations: 0 / 0.6302 GB, free: 0.7383 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.614e-05/0.0157, allocations: 15.92 kB / 0.6302 GB, free: 0.7227 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.044e-05/0.01576, allocations: 24.78 kB / 0.6303 GB, free: 0.6953 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.01576, allocations: 4 kB / 0.6303 GB, free: 0.6914 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006617/0.01643, allocations: 1.311 MB / 0.6315 GB, free: 15.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.01643, allocations: 0 / 0.6315 GB, free: 15.26 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.01658, allocations: 212.2 kB / 0.6317 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.524e-05/0.01661, allocations: 19.91 kB / 0.6318 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-06/0.01662, allocations: 0 / 0.6318 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.694e-05/0.01669, allocations: 11.98 kB / 0.6318 GB, free: 15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.686e-05/0.01671, allocations: 4 kB / 0.6318 GB, free: 15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-06/0.01671, allocations: 4 kB / 0.6318 GB, free: 15 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.526e-05/0.0168, allocations: 148.3 kB / 0.6319 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.0168, allocations: 0 / 0.6319 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002305/0.01703, allocations: 55.92 kB / 0.632 GB, free: 14.8 MB / 0.6042 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.0003567/0.01739, allocations: 0.7434 MB / 0.6327 GB, free: 14.03 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002797/0.01767, allocations: 202.5 kB / 0.6329 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01767, allocations: 0 / 0.6329 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.947e-05/0.01775, allocations: 147.2 kB / 0.633 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.01802, allocations: 38 kB / 0.6331 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.01983, allocations: 2.051 MB / 0.6351 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.99e-05/0.01993, allocations: 143.8 kB / 0.6352 GB, free: 11.28 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.704e-05/0.02001, allocations: 29.45 kB / 0.6352 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.427e-05/0.02008, allocations: 52.48 kB / 0.6353 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of SimCode: time 1.122e-06/0.02008, allocations: 0 / 0.6353 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02158/0.04166, allocations: 4.474 MB / 0.6397 GB, free: 6.922 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.996/7.037, allocations: 14.94 kB / 0.6397 GB, free: 6.918 MB / 0.6042 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 9.913305021822453] Failed to read output from testmodel.py, exit status != 0: 7.123973634094 7.134125565 7.1231174 Calling exit ...