Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001271/0.001271, allocations: 104.9 kB / 16.39 MB, free: 6.371 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.001289/0.001289, allocations: 192.6 kB / 19.35 MB, free: 3.836 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.426/1.426, allocations: 222.9 MB / 245 MB, free: 15.03 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.064/1.064, allocations: 173.4 MB / 470.7 MB, free: 13.62 MB / 382.1 MB " [Timeout remaining time 179] 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.Examples.GridDCLoad,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 66.52 kB / 0.6478 GB, free: 11.79 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1862, allocations: 89.52 MB / 0.7352 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004821/0.1911, allocations: 3.067 MB / 0.7382 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00324/0.1943, allocations: 1.92 MB / 0.7401 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.1945, allocations: 7.938 kB / 0.7401 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009481/0.1955, allocations: 278.9 kB / 0.7404 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004912/0.196, allocations: 191 kB / 0.7406 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007667/0.1967, allocations: 251.2 kB / 0.7408 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004315/0.1972, allocations: 330.9 kB / 0.7411 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000352/0.1975, allocations: 173 kB / 0.7413 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.1977, allocations: 131.5 kB / 0.7414 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002961/0.1981, allocations: 151.4 kB / 0.7415 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.82e-05/0.1981, allocations: 20 kB / 0.7416 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006402/0.1987, allocations: 407.2 kB / 0.742 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.1989, allocations: 87.73 kB / 0.742 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.199, allocations: 123.4 kB / 0.7422 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006837/0.1997, allocations: 486.3 kB / 0.7426 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1997, allocations: 0 / 0.7426 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.542e-06/0.1997, allocations: 8 kB / 0.7426 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.1997, allocations: 0 / 0.7426 GB, free: 10.67 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009243/0.2007, allocations: 0.5685 MB / 0.7432 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.2007, allocations: 12.03 kB / 0.7432 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.55e-05/0.2008, allocations: 58.72 kB / 0.7432 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007961/0.2016, allocations: 108.7 kB / 0.7433 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/0.202, allocations: 270.4 kB / 0.7436 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.202, allocations: 16.8 kB / 0.7436 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.805e-05/0.202, allocations: 16.38 kB / 0.7436 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000567/0.2026, allocations: 365.2 kB / 0.744 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.2026, allocations: 0 / 0.744 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.2027, allocations: 8 kB / 0.744 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.363e-05/0.2027, allocations: 24.42 kB / 0.744 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004904/0.2032, allocations: 297.5 kB / 0.7443 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00222/0.2054, allocations: 1.73 MB / 0.746 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005256/0.206, allocations: 322.1 kB / 0.7463 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.2061, allocations: 105.6 kB / 0.7464 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001293/0.2063, allocations: 93.09 kB / 0.7465 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.2063, allocations: 34.56 kB / 0.7465 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.2063, allocations: 3.938 kB / 0.7465 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.002528/0.2089, allocations: 0.962 MB / 0.7475 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.947e-05/0.209, allocations: 89.08 kB / 0.7475 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.2092, allocations: 216.3 kB / 0.7478 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.2092, allocations: 29.7 kB / 0.7478 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.2094, allocations: 176.5 kB / 0.748 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.972e-05/0.2094, allocations: 83.27 kB / 0.748 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.2096, allocations: 61.66 kB / 0.7481 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.2097, allocations: 334.8 kB / 0.7484 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.2099, allocations: 135.9 kB / 0.7485 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/0.2102, allocations: 209.3 kB / 0.7487 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004936/0.2107, allocations: 365.2 kB / 0.7491 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.2107, allocations: 7.984 kB / 0.7491 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000955/0.2117, allocations: 0.4999 MB / 0.7496 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.2117, allocations: 4 kB / 0.7496 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.2117, allocations: 8.297 kB / 0.7496 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005419/0.2123, allocations: 151.3 kB / 0.7497 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.2126, allocations: 59.91 kB / 0.7498 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3297/0.5423, allocations: 4.187 MB / 0.7539 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000279/0.5426, allocations: 22.3 kB / 0.7539 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.5426, allocations: 10.53 kB / 0.7539 GB, free: 16.48 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001992/0.5428, allocations: 164.3 kB / 0.7541 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.433e-05/0.5429, allocations: 22.69 kB / 0.7541 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009221/0.5438, allocations: 470.9 kB / 0.7545 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.5439, allocations: 5.031 kB / 0.7545 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5439, allocations: 2.25 kB / 0.7545 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.5439, allocations: 5.25 kB / 0.7546 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.5453, allocations: 0.9976 MB / 0.7555 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.5453, allocations: 5.562 kB / 0.7555 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.5455, allocations: 34.38 kB / 0.7556 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003843/0.5459, allocations: 146.3 kB / 0.7557 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.5459, allocations: 9.062 kB / 0.7557 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001976/0.5479, allocations: 4.164 MB / 0.7598 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.5479, allocations: 1.438 kB / 0.7598 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007327/0.5486, allocations: 0.6248 MB / 0.7604 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.5487, allocations: 129.4 kB / 0.7605 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.421e-05/0.5488, allocations: 8.469 kB / 0.7605 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.549, allocations: 18.95 kB / 0.7605 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.023e-05/0.5491, allocations: 25.92 kB / 0.7606 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.5491, allocations: 16.03 kB / 0.7606 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001452/0.5492, allocations: 154.3 kB / 0.7607 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5493, allocations: 0 / 0.7607 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005663/0.5498, allocations: 90.66 kB / 0.7608 GB, free: 11.67 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001012/0.5508, allocations: 1.195 MB / 0.762 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009301/0.5518, allocations: 0.5801 MB / 0.7626 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.5518, allocations: 1.219 kB / 0.7626 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004699/0.5523, allocations: 399.7 kB / 0.7629 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005043/0.5528, allocations: 53.5 kB / 0.763 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003844/0.5566, allocations: 3.329 MB / 0.7662 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.5569, allocations: 0.7879 MB / 0.767 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001696/0.5571, allocations: 56.36 kB / 0.7671 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.5572, allocations: 74.31 kB / 0.7671 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of SimCode: time 3.3e-07/0.5572, allocations: 0 / 0.7671 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04551/0.6027, allocations: 6.704 MB / 0.7737 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.45, allocations: 2.469 kB / 0.7737 GB, free: 7.238 MB / 0.5762 GB " [Timeout remaining time 647] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad_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_Examples_GridDCLoad.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.340263314079493] Failed to read output from testmodel.py, exit status != 0: 12.543081616982818 12.564815818 12.360882134 Calling exit ...