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.001154/0.001154, 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.001245/0.001245, allocations: 170.3 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.9123/0.9123, 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.7285/0.7285, allocations: 154.6 MB / 413.7 MB, free: 0.8008 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.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: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.125e-05, allocations: 2.281 kB / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.003399/0.00342, allocations: 3.036 MB / 0.621 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001609/0.005029, allocations: 1.309 MB / 0.6223 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.005155, allocations: 7.938 kB / 0.6223 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000643/0.005798, allocations: 330.6 kB / 0.6226 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003246/0.006122, allocations: 155 kB / 0.6227 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.006411, allocations: 139.5 kB / 0.6229 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003255/0.006736, allocations: 306.9 kB / 0.6232 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003507/0.007087, allocations: 180.6 kB / 0.6233 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.007244, allocations: 179.6 kB / 0.6235 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.007469, allocations: 123.6 kB / 0.6236 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.007494, allocations: 20 kB / 0.6236 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001928/0.007687, allocations: 155.5 kB / 0.6238 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.913e-05/0.007756, allocations: 83.78 kB / 0.6239 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.108e-05/0.007817, allocations: 79.84 kB / 0.6239 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003009/0.008118, allocations: 354.8 kB / 0.6243 GB, free: 7.301 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.008122, allocations: 0 / 0.6243 GB, free: 7.301 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.082e-06/0.008123, allocations: 0 / 0.6243 GB, free: 7.301 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.008129, allocations: 0 / 0.6243 GB, free: 7.301 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.0008582/0.008987, allocations: 441.6 kB / 0.6247 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.009022, allocations: 13.47 kB / 0.6247 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.034e-05/0.009063, allocations: 58.72 kB / 0.6248 GB, free: 6.758 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003121/0.009375, allocations: 80.72 kB / 0.6248 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.009597, allocations: 191.4 kB / 0.625 GB, free: 6.469 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.009613, allocations: 16.73 kB / 0.625 GB, free: 6.453 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.009632, allocations: 16.38 kB / 0.6251 GB, free: 6.438 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003202/0.009952, allocations: 373.3 kB / 0.6254 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.009962, allocations: 192 / 0.6254 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.009979, allocations: 12.12 kB / 0.6254 GB, free: 6.023 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.683e-05/0.01001, allocations: 24.36 kB / 0.6254 GB, free: 6 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/0.01021, allocations: 196.9 kB / 0.6256 GB, free: 5.809 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008997/0.01111, allocations: 1.023 MB / 0.6266 GB, free: 4.711 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.0113, allocations: 98.59 kB / 0.6267 GB, free: 4.605 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.28e-05/0.01134, allocations: 36.78 kB / 0.6268 GB, free: 4.566 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.01135, allocations: 0 / 0.6268 GB, free: 4.566 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.01137, allocations: 34.56 kB / 0.6268 GB, free: 4.523 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.01137, allocations: 3.938 kB / 0.6268 GB, free: 4.52 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.000309/0.01168, allocations: 150.5 kB / 0.6269 GB, free: 4.363 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.0117, allocations: 55.41 kB / 0.627 GB, free: 4.297 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.01183, allocations: 199.5 kB / 0.6272 GB, free: 4.094 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.01185, allocations: 33.7 kB / 0.6272 GB, free: 4.055 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.176e-05/0.01192, allocations: 168 kB / 0.6274 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.185e-05/0.01193, allocations: 23.86 kB / 0.6274 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.01197, allocations: 37.66 kB / 0.6274 GB, free: 3.82 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.639e-05/0.01205, allocations: 326.8 kB / 0.6277 GB, free: 3.492 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.048e-05/0.01209, allocations: 35.98 kB / 0.6278 GB, free: 3.457 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.777e-05/0.01216, allocations: 106.6 kB / 0.6279 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.01228, allocations: 152.4 kB / 0.628 GB, free: 3.145 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.01228, allocations: 0 / 0.628 GB, free: 3.145 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006337/0.01291, allocations: 186.2 kB / 0.6282 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.01293, allocations: 8 kB / 0.6282 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.01293, allocations: 288 / 0.6282 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001355/0.01307, allocations: 32.84 kB / 0.6282 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.732e-05/0.01313, allocations: 27.92 kB / 0.6283 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008419/0.01398, allocations: 1.315 MB / 0.6296 GB, free: 1.453 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.573e-05/0.01405, allocations: 15.89 kB / 0.6296 GB, free: 1.438 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.01406, allocations: 8 kB / 0.6296 GB, free: 1.43 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.0001004/0.01416, allocations: 146.9 kB / 0.6297 GB, free: 1.277 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.01419, allocations: 19.84 kB / 0.6297 GB, free: 1.258 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.904e-05/0.0142, allocations: 21.45 kB / 0.6298 GB, free: 1.234 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.01421, allocations: 0 / 0.6298 GB, free: 1.234 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.01421, allocations: 96 / 0.6298 GB, free: 1.234 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.01421, allocations: 7.938 kB / 0.6298 GB, free: 1.227 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000365/0.01458, allocations: 410.2 kB / 0.6302 GB, free: 0.7734 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01458, allocations: 3.938 kB / 0.6302 GB, free: 0.7695 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.37e-05/0.0146, allocations: 8 kB / 0.6302 GB, free: 0.7617 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.358e-05/0.01467, allocations: 24.89 kB / 0.6302 GB, free: 0.7344 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-06/0.01467, allocations: 7.984 kB / 0.6302 GB, free: 0.7266 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000861/0.01554, allocations: 1.299 MB / 0.6315 GB, free: 15.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01554, allocations: 0 / 0.6315 GB, free: 15.31 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.01568, allocations: 212.6 kB / 0.6317 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.671e-05/0.01572, allocations: 28.05 kB / 0.6317 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-06/0.01573, allocations: 0 / 0.6317 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.479e-05/0.01579, allocations: 4 kB / 0.6317 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.493e-05/0.01582, allocations: 11.98 kB / 0.6317 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.01582, allocations: 0 / 0.6317 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.644e-05/0.01591, allocations: 149.2 kB / 0.6319 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/0.01591, allocations: 0 / 0.6319 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002158/0.01613, allocations: 51.89 kB / 0.6319 GB, free: 14.85 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.0003366/0.01646, allocations: 0.7483 MB / 0.6326 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002705/0.01673, allocations: 202.5 kB / 0.6328 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.01674, allocations: 4 kB / 0.6328 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.623e-05/0.01681, allocations: 146.6 kB / 0.633 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.01707, allocations: 31.55 kB / 0.633 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.01864, allocations: 2.046 MB / 0.635 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.01874, allocations: 147.7 kB / 0.6351 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.538e-05/0.01882, allocations: 21.66 kB / 0.6352 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.143e-05/0.01888, allocations: 56.48 kB / 0.6352 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of SimCode: time 8.42e-07/0.01888, allocations: 3.938 kB / 0.6352 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02122/0.0401, allocations: 4.482 MB / 0.6396 GB, free: 6.961 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.176/7.216, allocations: 22.03 kB / 0.6396 GB, free: 6.945 MB / 0.6042 GB " [Timeout remaining time 653] (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.06840721797198] Failed to read output from testmodel.py, exit status != 0: 7.301067914813757 7.314186775 7.303731719 Calling exit ...