Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.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.0008639/0.0008639, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001183/0.001183, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9187/0.9187, allocations: 177.2 MB / 202.8 MB, free: 5.742 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.744/0.744, allocations: 154.6 MB / 413.7 MB, free: 0.8516 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.RCModel,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.156e-05/1.404e-05, allocations: 2.906 kB / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.005239/0.005253, allocations: 4.211 MB / 0.6221 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002121/0.007374, allocations: 1.811 MB / 0.6239 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.007599, allocations: 15.88 kB / 0.6239 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.008672, allocations: 0.6023 MB / 0.6245 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0005406/0.009213, allocations: 266.4 kB / 0.6248 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000561/0.009774, allocations: 261.8 kB / 0.625 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004813/0.01025, allocations: 0.6227 MB / 0.6256 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005003/0.01076, allocations: 351.1 kB / 0.626 GB, free: 5.613 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002866/0.01104, allocations: 351.1 kB / 0.6263 GB, free: 5.27 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006873/0.01173, allocations: 243.3 kB / 0.6265 GB, free: 5.031 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.371e-05/0.01177, allocations: 36 kB / 0.6266 GB, free: 4.996 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002708/0.01204, allocations: 243.2 kB / 0.6268 GB, free: 4.758 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.01216, allocations: 163.5 kB / 0.6269 GB, free: 4.598 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.01228, allocations: 155.7 kB / 0.6271 GB, free: 4.445 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005051/0.01278, allocations: 0.6231 MB / 0.6277 GB, free: 3.82 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.01279, allocations: 0 / 0.6277 GB, free: 3.82 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.02e-07/0.01279, allocations: 0 / 0.6277 GB, free: 3.82 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.01279, allocations: 0 / 0.6277 GB, free: 3.82 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0008251/0.01362, allocations: 0.6532 MB / 0.6283 GB, free: 3.137 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.01366, allocations: 13.45 kB / 0.6283 GB, free: 3.125 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.06e-05/0.01372, allocations: 82.64 kB / 0.6284 GB, free: 3.035 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004866/0.0142, allocations: 148.5 kB / 0.6286 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/0.01452, allocations: 276.5 kB / 0.6288 GB, free: 2.598 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.01454, allocations: 29.36 kB / 0.6289 GB, free: 2.57 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.302e-05/0.01459, allocations: 40.34 kB / 0.6289 GB, free: 2.531 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005812/0.01517, allocations: 0.6786 MB / 0.6296 GB, free: 1.781 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.01519, allocations: 192 / 0.6296 GB, free: 1.781 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.168e-05/0.01522, allocations: 28.09 kB / 0.6296 GB, free: 1.754 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.732e-05/0.01526, allocations: 28.64 kB / 0.6296 GB, free: 1.727 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000393/0.01565, allocations: 390.3 kB / 0.63 GB, free: 1.348 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.01709, allocations: 1.718 MB / 0.6317 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003454/0.01743, allocations: 246.4 kB / 0.6319 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.01753, allocations: 102.8 kB / 0.632 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.01754, allocations: 0 / 0.632 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.01756, allocations: 34.56 kB / 0.632 GB, free: 15.15 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 2.284e-06/0.01757, allocations: 3.984 kB / 0.632 GB, free: 15.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.001296/0.01886, allocations: 0.9006 MB / 0.6329 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.01889, allocations: 59.39 kB / 0.633 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.0191, allocations: 304.4 kB / 0.6333 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.01912, allocations: 29.7 kB / 0.6333 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003569/0.01947, allocations: 236.1 kB / 0.6335 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.776e-05/0.01952, allocations: 87.27 kB / 0.6336 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.618e-05/0.01959, allocations: 61.92 kB / 0.6337 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.259e-05/0.01967, allocations: 342.8 kB / 0.634 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.01978, allocations: 104.6 kB / 0.6341 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.01993, allocations: 200.6 kB / 0.6343 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.02019, allocations: 309.9 kB / 0.6346 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.02019, allocations: 8 kB / 0.6346 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004491/0.02064, allocations: 441.8 kB / 0.635 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.02065, allocations: 4.344 kB / 0.635 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.02066, allocations: 8 kB / 0.635 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002049/0.02086, allocations: 98.44 kB / 0.6351 GB, free: 11.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.02101, allocations: 63.91 kB / 0.6352 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001889/0.0229, allocations: 4.057 MB / 0.6391 GB, free: 7.355 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.02301, allocations: 12.28 kB / 0.6391 GB, free: 7.344 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.02302, allocations: 15.98 kB / 0.6392 GB, free: 7.328 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000124/0.02314, allocations: 177.8 kB / 0.6393 GB, free: 7.145 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/0.02318, allocations: 35.75 kB / 0.6394 GB, free: 7.109 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.595e-05/0.02321, allocations: 46.34 kB / 0.6394 GB, free: 7.062 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.02321, allocations: 0 / 0.6394 GB, free: 7.062 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.02322, allocations: 4.094 kB / 0.6394 GB, free: 7.059 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.02322, allocations: 3.984 kB / 0.6394 GB, free: 7.055 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.0235, allocations: 336.6 kB / 0.6397 GB, free: 6.684 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.0235, allocations: 0 / 0.6397 GB, free: 6.684 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.649e-05/0.02359, allocations: 39.97 kB / 0.6398 GB, free: 6.645 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001587/0.02375, allocations: 86.5 kB / 0.6399 GB, free: 6.551 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.02376, allocations: 7.938 kB / 0.6399 GB, free: 6.543 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00204/0.0258, allocations: 4.069 MB / 0.6438 GB, free: 2.129 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.02581, allocations: 0 / 0.6438 GB, free: 2.129 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005064/0.02631, allocations: 0.5555 MB / 0.6444 GB, free: 1.551 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.965e-05/0.02638, allocations: 47.81 kB / 0.6444 GB, free: 1.504 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.02641, allocations: 4 kB / 0.6444 GB, free: 1.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.02651, allocations: 12 kB / 0.6444 GB, free: 1.488 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.02654, allocations: 28.05 kB / 0.6445 GB, free: 1.461 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.02655, allocations: 7.938 kB / 0.6445 GB, free: 1.453 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001369/0.02668, allocations: 215 kB / 0.6447 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4e-08/0.02668, allocations: 0 / 0.6447 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002738/0.02696, allocations: 96 kB / 0.6448 GB, free: 1.152 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007179/0.02768, allocations: 1.112 MB / 0.6459 GB, free: 4 kB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005548/0.02823, allocations: 0.578 MB / 0.6464 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.02823, allocations: 4.75 kB / 0.6464 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002737/0.02851, allocations: 471.7 kB / 0.6469 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.02883, allocations: 70.8 kB / 0.6469 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003116/0.03195, allocations: 3.336 MB / 0.6502 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001572/0.03211, allocations: 228.7 kB / 0.6504 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001201/0.03223, allocations: 66.91 kB / 0.6505 GB, free: 11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.03233, allocations: 112.5 kB / 0.6506 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of SimCode: time 6.81e-07/0.03233, allocations: 0 / 0.6506 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03266/0.06499, allocations: 8.888 MB / 0.6593 GB, free: 2.254 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.23/7.295, allocations: 9.828 kB / 0.6593 GB, free: 2.25 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_RCModel.fmu > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.114092091098428] Failed to read output from testmodel.py, exit status != 0: 7.379396330565214 7.389045477 7.37413704 Calling exit ...