Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008355/0.0008355, allocations: 105.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.001153/0.001153, allocations: 210.6 kB / 22.25 MB, free: 3.578 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.9538/0.9538, allocations: 230.6 MB / 256 MB, free: 9.625 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.7876/0.7876, allocations: 203.8 MB / 0.5042 GB, free: 10.42 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.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="IDEAS_dev_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.001061/0.001061, allocations: 66.55 kB / 0.7181 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5269/0.5279, allocations: 102 MB / 0.8178 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.004507/0.5324, allocations: 3.074 MB / 0.8208 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002042/0.5345, allocations: 1.321 MB / 0.8221 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001561/0.5346, allocations: 9.062 kB / 0.8221 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007932/0.5354, allocations: 327.1 kB / 0.8224 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003236/0.5357, allocations: 150 kB / 0.8225 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.536, allocations: 136.2 kB / 0.8227 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000335/0.5364, allocations: 307.4 kB / 0.8229 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003799/0.5368, allocations: 182.7 kB / 0.8231 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.5369, allocations: 129.8 kB / 0.8232 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002809/0.5372, allocations: 136.8 kB / 0.8234 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.739e-05/0.5372, allocations: 22.53 kB / 0.8234 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002456/0.5375, allocations: 147 kB / 0.8235 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.996e-05/0.5376, allocations: 81.88 kB / 0.8236 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.434e-05/0.5376, allocations: 94.12 kB / 0.8237 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004537/0.5381, allocations: 341.3 kB / 0.824 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.5381, allocations: 5.062 kB / 0.824 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.063e-06/0.5381, allocations: 0 / 0.824 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.5381, allocations: 0 / 0.824 GB, free: 13.29 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.0007931/0.5389, allocations: 455.2 kB / 0.8245 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.539, allocations: 14.03 kB / 0.8245 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.967e-05/0.539, allocations: 55.02 kB / 0.8245 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004271/0.5394, allocations: 75.3 kB / 0.8246 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.5397, allocations: 192 kB / 0.8248 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.5397, allocations: 16.83 kB / 0.8248 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.5398, allocations: 19.88 kB / 0.8248 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004163/0.5402, allocations: 381.8 kB / 0.8252 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.5402, allocations: 1.312 kB / 0.8252 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.5402, allocations: 7.109 kB / 0.8252 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.35e-05/0.5402, allocations: 20.03 kB / 0.8252 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002464/0.5405, allocations: 196.2 kB / 0.8254 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009911/0.5415, allocations: 1.036 MB / 0.8264 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.5417, allocations: 96.91 kB / 0.8265 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.417e-05/0.5417, allocations: 29.2 kB / 0.8265 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.724e-06/0.5417, allocations: 5.344 kB / 0.8265 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.5417, allocations: 32.58 kB / 0.8266 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.5417, allocations: 1.312 kB / 0.8266 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003428/0.5421, allocations: 156.5 kB / 0.8267 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.5421, allocations: 53.53 kB / 0.8268 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.5423, allocations: 209 kB / 0.827 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.5423, allocations: 29.7 kB / 0.827 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.244e-05/0.5424, allocations: 165.6 kB / 0.8272 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.5424, allocations: 26.41 kB / 0.8272 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.5424, allocations: 35.86 kB / 0.8272 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.647e-05/0.5425, allocations: 331.6 kB / 0.8275 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.894e-05/0.5426, allocations: 35.22 kB / 0.8276 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.353e-05/0.5427, allocations: 95.25 kB / 0.8277 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.5428, allocations: 153.6 kB / 0.8278 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5428, allocations: 1.375 kB / 0.8278 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002297/0.543, allocations: 187.2 kB / 0.828 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.543, allocations: 6.062 kB / 0.828 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.543, allocations: 3.781 kB / 0.828 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001461/0.5432, allocations: 25.75 kB / 0.828 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.021e-05/0.5433, allocations: 25.09 kB / 0.828 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008306/0.5441, allocations: 1.315 MB / 0.8293 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.443e-05/0.5442, allocations: 27.28 kB / 0.8294 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.5442, allocations: 4.969 kB / 0.8294 GB, free: 8.875 MB / 0.6198 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.0001217/0.5443, allocations: 147.4 kB / 0.8295 GB, free: 8.742 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.5443, allocations: 16.3 kB / 0.8295 GB, free: 8.734 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.275e-05/0.5444, allocations: 15.64 kB / 0.8295 GB, free: 8.727 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.5444, allocations: 2.5 kB / 0.8295 GB, free: 8.727 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.5444, allocations: 0 / 0.8295 GB, free: 8.727 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.5444, allocations: 0.5156 kB / 0.8295 GB, free: 8.727 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006873/0.5451, allocations: 415.7 kB / 0.8299 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.5451, allocations: 0 / 0.8299 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.493e-05/0.5451, allocations: 7.609 kB / 0.8299 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.031e-05/0.5451, allocations: 27.17 kB / 0.83 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.5452, allocations: 1.125 kB / 0.83 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006233/0.5458, allocations: 1.309 MB / 0.8312 GB, free: 7.082 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5458, allocations: 3.938 kB / 0.8312 GB, free: 7.078 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.5459, allocations: 216.7 kB / 0.8315 GB, free: 6.902 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.497e-05/0.546, allocations: 21.39 kB / 0.8315 GB, free: 6.891 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.546, allocations: 1.953 kB / 0.8315 GB, free: 6.891 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.6e-05/0.546, allocations: 11.34 kB / 0.8315 GB, free: 6.883 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.041e-05/0.5461, allocations: 6.078 kB / 0.8315 GB, free: 6.883 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.5461, allocations: 1.375 kB / 0.8315 GB, free: 6.883 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000107/0.5462, allocations: 147.5 kB / 0.8316 GB, free: 6.785 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.5462, allocations: 0 / 0.8316 GB, free: 6.785 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002418/0.5464, allocations: 57.55 kB / 0.8317 GB, free: 6.77 MB / 0.6198 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.0003668/0.5468, allocations: 0.7474 MB / 0.8324 GB, free: 6.062 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003195/0.5471, allocations: 206.2 kB / 0.8326 GB, free: 5.918 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5471, allocations: 1.156 kB / 0.8326 GB, free: 5.918 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.272e-05/0.5472, allocations: 139.5 kB / 0.8327 GB, free: 5.801 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.5475, allocations: 36.19 kB / 0.8328 GB, free: 5.785 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.5494, allocations: 2.058 MB / 0.8348 GB, free: 4.145 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.5496, allocations: 140.4 kB / 0.8349 GB, free: 4.062 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.899e-05/0.5496, allocations: 24.52 kB / 0.8349 GB, free: 4.055 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.678e-05/0.5497, allocations: 52.19 kB / 0.835 GB, free: 4.016 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.5497, allocations: 0 / 0.835 GB, free: 4.016 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02435/0.5741, allocations: 4.376 MB / 0.8393 GB, free: 2.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.852/7.426, allocations: 4.734 kB / 0.8393 GB, free: 2.91 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Electrical_DC_Lines_Examples_Resistance.fmu > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.43841116130352] Failed to read output from testmodel.py, exit status != 0: 7.506565663963556 7.516472406 6.976421235 Calling exit ...