Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.0008991/0.0008991, 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.0009109/0.0009109, 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.9408/0.9408, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7555/0.7555, allocations: 154.6 MB / 413.7 MB, free: 0.8086 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.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 0.618 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.5e-05, allocations: 5.094 kB / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.005272/0.005297, allocations: 5.196 MB / 0.6231 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003222/0.008519, allocations: 2.579 MB / 0.6256 GB, free: 5.898 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003227/0.008841, allocations: 35.69 kB / 0.6257 GB, free: 5.863 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.00987, allocations: 0.6799 MB / 0.6263 GB, free: 5.184 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0007258/0.0106, allocations: 445.3 kB / 0.6268 GB, free: 4.746 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006826/0.01128, allocations: 398.7 kB / 0.6271 GB, free: 4.355 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0008572/0.01214, allocations: 0.9747 MB / 0.6281 GB, free: 3.375 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004859/0.01262, allocations: 374.5 kB / 0.6285 GB, free: 3 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005843/0.01321, allocations: 0.5182 MB / 0.629 GB, free: 2.48 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004024/0.01361, allocations: 367 kB / 0.6293 GB, free: 2.121 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.259e-05/0.01366, allocations: 48 kB / 0.6294 GB, free: 2.074 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004454/0.01411, allocations: 335 kB / 0.6297 GB, free: 1.746 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001901/0.0143, allocations: 263.2 kB / 0.6299 GB, free: 1.488 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.01448, allocations: 243.4 kB / 0.6302 GB, free: 1.25 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0009225/0.0154, allocations: 0.9929 MB / 0.6311 GB, free: 260 kB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.0154, allocations: 0 / 0.6311 GB, free: 260 kB / 0.5886 GB Notification: Performance of FrontEnd: time 1.442e-06/0.0154, allocations: 0 / 0.6311 GB, free: 260 kB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.01541, allocations: 0 / 0.6311 GB, free: 260 kB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001071/0.01648, allocations: 0.9208 MB / 0.632 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.01652, allocations: 9.469 kB / 0.632 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.865e-05/0.0166, allocations: 98.7 kB / 0.6321 GB, free: 15.19 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007478/0.01735, allocations: 196.3 kB / 0.6323 GB, free: 15 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000527/0.01787, allocations: 458.9 kB / 0.6328 GB, free: 14.53 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.0179, allocations: 33.38 kB / 0.6328 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.018, allocations: 56.55 kB / 0.6328 GB, free: 14.44 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007947/0.0188, allocations: 0.9789 MB / 0.6338 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.01882, allocations: 4.125 kB / 0.6338 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.929e-05/0.01885, allocations: 27.94 kB / 0.6338 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001157/0.01897, allocations: 68.94 kB / 0.6339 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005881/0.01956, allocations: 0.5658 MB / 0.6344 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002608/0.02217, allocations: 3.561 MB / 0.6379 GB, free: 8.977 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/0.02249, allocations: 287.1 kB / 0.6382 GB, free: 8.688 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/0.02268, allocations: 209.3 kB / 0.6384 GB, free: 8.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.02271, allocations: 8.219 kB / 0.6384 GB, free: 8.473 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.02273, allocations: 38.84 kB / 0.6384 GB, free: 8.426 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 2.715e-06/0.02273, allocations: 4 kB / 0.6384 GB, free: 8.422 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.003214/0.02595, allocations: 2.336 MB / 0.6407 GB, free: 6.035 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.02598, allocations: 55.41 kB / 0.6408 GB, free: 5.969 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/0.0263, allocations: 465.9 kB / 0.6412 GB, free: 5.504 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.02633, allocations: 41.62 kB / 0.6413 GB, free: 5.457 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.02649, allocations: 344.5 kB / 0.6416 GB, free: 5.117 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.886e-05/0.02657, allocations: 146.8 kB / 0.6417 GB, free: 4.973 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.02668, allocations: 98.3 kB / 0.6418 GB, free: 4.871 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.02678, allocations: 370.7 kB / 0.6422 GB, free: 4.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002438/0.02703, allocations: 229.2 kB / 0.6424 GB, free: 4.273 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003399/0.02737, allocations: 415.3 kB / 0.6428 GB, free: 3.793 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006116/0.02798, allocations: 0.674 MB / 0.6435 GB, free: 3.047 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.02798, allocations: 8 kB / 0.6435 GB, free: 3.039 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001183/0.02917, allocations: 0.9171 MB / 0.6444 GB, free: 2.105 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.02919, allocations: 10.19 kB / 0.6444 GB, free: 2.098 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.02919, allocations: 7.984 kB / 0.6444 GB, free: 2.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004471/0.02964, allocations: 223 kB / 0.6446 GB, free: 1.863 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/0.02993, allocations: 115.8 kB / 0.6447 GB, free: 1.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003328/0.03326, allocations: 4.998 MB / 0.6496 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000287/0.03354, allocations: 35.97 kB / 0.6496 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.03357, allocations: 20.12 kB / 0.6496 GB, free: 12.36 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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 {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002377/0.03381, allocations: 225.6 kB / 0.6498 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.908e-05/0.03387, allocations: 59.62 kB / 0.6499 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009371/0.0348, allocations: 0.7733 MB / 0.6507 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.03481, allocations: 7.938 kB / 0.6507 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.03481, allocations: 0 / 0.6507 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.03482, allocations: 4.125 kB / 0.6507 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.03657, allocations: 1.403 MB / 0.652 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.03657, allocations: 0 / 0.652 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.03678, allocations: 71.88 kB / 0.6521 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000383/0.03716, allocations: 202.6 kB / 0.6523 GB, free: 9.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.03719, allocations: 12 kB / 0.6523 GB, free: 9.488 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003069/0.04026, allocations: 4.936 MB / 0.6571 GB, free: 4.203 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.04026, allocations: 4.031 kB / 0.6571 GB, free: 4.199 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.04157, allocations: 1.12 MB / 0.6582 GB, free: 3.031 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/0.04173, allocations: 91.66 kB / 0.6583 GB, free: 2.941 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.814e-05/0.04177, allocations: 15.98 kB / 0.6583 GB, free: 2.926 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.04195, allocations: 27.91 kB / 0.6584 GB, free: 2.898 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.298e-05/0.04203, allocations: 31.94 kB / 0.6584 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.04205, allocations: 12 kB / 0.6584 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002519/0.04231, allocations: 314.8 kB / 0.6587 GB, free: 2.551 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.1e-08/0.04231, allocations: 8.062 kB / 0.6587 GB, free: 2.543 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005304/0.04284, allocations: 164 kB / 0.6589 GB, free: 2.383 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,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.001334/0.04417, allocations: 1.684 MB / 0.6605 GB, free: 0.6406 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001097/0.04527, allocations: 0.959 MB / 0.6614 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.04527, allocations: 0 / 0.6614 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005372/0.04581, allocations: 0.6797 MB / 0.6621 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005839/0.04639, allocations: 179.7 kB / 0.6623 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005401/0.05179, allocations: 5.56 MB / 0.6677 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.05209, allocations: 346.2 kB / 0.668 GB, free: 8.555 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003319/0.05242, allocations: 117 kB / 0.6682 GB, free: 8.438 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002335/0.05266, allocations: 208.4 kB / 0.6684 GB, free: 8.234 MB / 0.6355 GB Notification: Performance of SimCode: time 1.613e-06/0.05266, allocations: 0 / 0.6684 GB, free: 8.234 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2794/0.3321, allocations: 15.7 MB / 0.6837 GB, free: 95.36 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.337/7.669, allocations: 11.31 kB / 0.6837 GB, free: 95.36 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_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_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.560336564667523] Failed to read output from testmodel.py, exit status != 0: 7.763427664525807 7.772612452 7.755591393 Calling exit ...