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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 114 kB / 18.14 MB, free: 3.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002269/0.002269, allocations: 201.2 kB / 21.43 MB, free: 0.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 250.2 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.144/1.144, allocations: 175.8 MB / 481.1 MB, free: 7.691 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002049/0.002049, allocations: 63.34 kB / 0.6693 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5289/0.531, allocations: 94.52 MB / 0.7616 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006187/0.5371, allocations: 5.654 MB / 0.7671 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003989/0.5411, allocations: 2.725 MB / 0.7698 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003974/0.5415, allocations: 20.97 kB / 0.7698 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001711/0.5432, allocations: 0.7056 MB / 0.7705 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000959/0.5442, allocations: 422.3 kB / 0.7709 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009179/0.5451, allocations: 406.5 kB / 0.7713 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009484/0.5461, allocations: 0.9457 MB / 0.7722 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000477/0.5465, allocations: 334.8 kB / 0.7725 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004679/0.547, allocations: 371.6 kB / 0.7729 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005603/0.5476, allocations: 435.5 kB / 0.7733 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.202e-05/0.5477, allocations: 52.09 kB / 0.7733 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006922/0.5483, allocations: 370.2 kB / 0.7737 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002528/0.5486, allocations: 254.1 kB / 0.7739 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000308/0.5489, allocations: 355 kB / 0.7743 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.5501, allocations: 0.9738 MB / 0.7752 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.5501, allocations: 0.5625 kB / 0.7752 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5501, allocations: 0 / 0.7752 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.5501, allocations: 0 / 0.7752 GB, free: 1.879 MB / 0.5762 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.00154/0.5517, allocations: 0.998 MB / 0.7762 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.5517, allocations: 10.38 kB / 0.7762 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001028/0.5518, allocations: 101.3 kB / 0.7763 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/0.5531, allocations: 194.5 kB / 0.7765 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008356/0.554, allocations: 0.5228 MB / 0.777 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.296e-05/0.554, allocations: 38.39 kB / 0.777 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.5541, allocations: 53.02 kB / 0.7771 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.5553, allocations: 0.8352 MB / 0.7779 GB, free: 168 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.95e-05/0.5553, allocations: 10.05 kB / 0.7779 GB, free: 160 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.757e-05/0.5554, allocations: 29.61 kB / 0.7779 GB, free: 140 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001875/0.5556, allocations: 62.42 kB / 0.778 GB, free: 136 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009072/0.5565, allocations: 0.5734 MB / 0.7786 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005596/0.5621, allocations: 4.567 MB / 0.783 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/0.5625, allocations: 280.4 kB / 0.7833 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002935/0.5628, allocations: 216.6 kB / 0.7835 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.5629, allocations: 2.094 kB / 0.7835 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.5629, allocations: 33.62 kB / 0.7835 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.044e-06/0.5629, allocations: 0 / 0.7835 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.00595/0.5689, allocations: 2.634 MB / 0.7861 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.5689, allocations: 56.48 kB / 0.7862 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005744/0.5695, allocations: 464.3 kB / 0.7866 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.885e-05/0.5695, allocations: 31.3 kB / 0.7866 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/0.5698, allocations: 354.9 kB / 0.787 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.5699, allocations: 146.3 kB / 0.7871 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.5701, allocations: 109.9 kB / 0.7872 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.5703, allocations: 362.2 kB / 0.7876 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003875/0.5707, allocations: 236.5 kB / 0.7878 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005636/0.5713, allocations: 414.7 kB / 0.7882 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008948/0.5722, allocations: 0.677 MB / 0.7888 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.5722, allocations: 0 / 0.7888 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001937/0.5741, allocations: 0.9074 MB / 0.7897 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.5741, allocations: 7.844 kB / 0.7897 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.5741, allocations: 9.906 kB / 0.7897 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009374/0.5751, allocations: 228.3 kB / 0.79 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000562/0.5756, allocations: 112.2 kB / 0.7901 GB, free: 8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007073/0.5827, allocations: 5.346 MB / 0.7953 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000689/0.5834, allocations: 32.98 kB / 0.7953 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.225e-05/0.5835, allocations: 23.44 kB / 0.7953 GB, free: 3.316 MB / 0.5919 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.0004645/0.5839, allocations: 222.8 kB / 0.7956 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.5841, allocations: 64.84 kB / 0.7956 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/0.5857, allocations: 0.7614 MB / 0.7964 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.5857, allocations: 5.312 kB / 0.7964 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.5858, allocations: 2.25 kB / 0.7964 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.5858, allocations: 6.109 kB / 0.7964 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002922/0.5887, allocations: 1.488 MB / 0.7978 GB, free: 2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.331e-06/0.5887, allocations: 2.359 kB / 0.7978 GB, free: 2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004065/0.5891, allocations: 68.83 kB / 0.7979 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007899/0.5899, allocations: 207.4 kB / 0.7981 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.417e-05/0.5899, allocations: 9.547 kB / 0.7981 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005711/0.5956, allocations: 5.275 MB / 0.8032 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.5956, allocations: 5.906 kB / 0.8033 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/0.5977, allocations: 1.134 MB / 0.8044 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000336/0.598, allocations: 174.7 kB / 0.8045 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.739e-05/0.5981, allocations: 13.92 kB / 0.8045 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/0.5984, allocations: 23.84 kB / 0.8046 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.5985, allocations: 39.72 kB / 0.8046 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.258e-05/0.5985, allocations: 13.12 kB / 0.8046 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00042/0.599, allocations: 308.7 kB / 0.8049 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.599, allocations: 0 / 0.8049 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007341/0.5997, allocations: 171.9 kB / 0.8051 GB, free: 12.36 MB / 0.6075 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.002294/0.602, allocations: 1.69 MB / 0.8067 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001759/0.6037, allocations: 0.9662 MB / 0.8077 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.6038, allocations: 5.312 kB / 0.8077 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.6048, allocations: 0.6681 MB / 0.8083 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009223/0.6057, allocations: 182.6 kB / 0.8085 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009388/0.6151, allocations: 5.619 MB / 0.814 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007163/0.6158, allocations: 0.9479 MB / 0.8149 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004876/0.6163, allocations: 108.3 kB / 0.815 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003213/0.6166, allocations: 208.4 kB / 0.8152 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of SimCode: time 1.493e-06/0.6166, allocations: 4 kB / 0.8152 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05853/0.6752, allocations: 14.27 MB / 0.8292 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.92, allocations: 8.812 kB / 0.8292 GB, free: 14.71 MB / 0.6231 GB " [Timeout remaining time 648] (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: 15.942936962004751] Failed to read output from testmodel.py, exit status != 0: 12.00978854810819 12.034275004 11.479622319 Calling exit ...