Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.001374/0.001374, allocations: 108.2 kB / 17.54 MB, free: 4.746 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.001397/0.001397, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.298/1.298, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 179] 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 0.997/0.997, allocations: 175.7 MB / 480.1 MB, free: 3.223 MB / 366.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.Loads.Examples.TestImpedance,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 76.84 kB / 0.6678 GB, free: 10.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1492, allocations: 94.53 MB / 0.7601 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.0065/0.1557, allocations: 4.988 MB / 0.7649 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004415/0.1601, allocations: 2.537 MB / 0.7674 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004542/0.1605, allocations: 23.81 kB / 0.7674 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.1618, allocations: 409.9 kB / 0.7678 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00109/0.1629, allocations: 461.7 kB / 0.7683 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009792/0.1638, allocations: 398.8 kB / 0.7687 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001187/0.165, allocations: 0.9134 MB / 0.7695 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004643/0.1655, allocations: 266.5 kB / 0.7698 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005262/0.166, allocations: 334.7 kB / 0.7701 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005527/0.1666, allocations: 370.4 kB / 0.7705 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.688e-05/0.1667, allocations: 36 kB / 0.7705 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006881/0.1674, allocations: 419 kB / 0.7709 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000205/0.1676, allocations: 183.4 kB / 0.7711 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003468/0.1679, allocations: 322.2 kB / 0.7714 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.169, allocations: 0.8792 MB / 0.7722 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.169, allocations: 0 / 0.7722 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.183e-06/0.169, allocations: 0 / 0.7722 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.616e-05/0.169, allocations: 0 / 0.7722 GB, free: 4.379 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001674/0.1707, allocations: 0.961 MB / 0.7732 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.1707, allocations: 12.03 kB / 0.7732 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/0.1709, allocations: 90.69 kB / 0.7733 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/0.1721, allocations: 208.2 kB / 0.7735 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007805/0.1729, allocations: 0.5378 MB / 0.774 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.1729, allocations: 33.38 kB / 0.774 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-05/0.173, allocations: 52.25 kB / 0.7741 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.174, allocations: 0.8485 MB / 0.7749 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/0.1741, allocations: 7.938 kB / 0.7749 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.133e-05/0.1741, allocations: 23.98 kB / 0.7749 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.31e-05/0.1742, allocations: 64.95 kB / 0.775 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000839/0.1751, allocations: 0.5734 MB / 0.7756 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004535/0.1796, allocations: 5.647 MB / 0.7811 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000616/0.1802, allocations: 418.3 kB / 0.7815 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002879/0.1805, allocations: 204.7 kB / 0.7817 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.1805, allocations: 8.516 kB / 0.7817 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.1806, allocations: 38.56 kB / 0.7817 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 1.523e-06/0.1806, allocations: 0 / 0.7817 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002534/0.1831, allocations: 1.498 MB / 0.7832 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.1831, allocations: 63.67 kB / 0.7832 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005278/0.1837, allocations: 0.495 MB / 0.7837 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.1837, allocations: 29.7 kB / 0.7838 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/0.1839, allocations: 363.8 kB / 0.7841 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.346e-05/0.184, allocations: 119 kB / 0.7842 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.1842, allocations: 110.2 kB / 0.7843 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1843, allocations: 366.8 kB / 0.7847 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/0.1846, allocations: 201.1 kB / 0.7849 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004761/0.1851, allocations: 447.3 kB / 0.7853 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000896/0.186, allocations: 0.6954 MB / 0.786 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.186, allocations: 0 / 0.786 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001232/0.1872, allocations: 0.8055 MB / 0.7868 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1872, allocations: 12 kB / 0.7868 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.1872, allocations: 11.94 kB / 0.7868 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000465/0.1877, allocations: 152.7 kB / 0.7869 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004215/0.1881, allocations: 123.8 kB / 0.787 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003484/0.1916, allocations: 4.349 MB / 0.7913 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003346/0.1919, allocations: 31.97 kB / 0.7913 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.202e-05/0.192, allocations: 28 kB / 0.7913 GB, free: 15.31 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002448/0.1922, allocations: 216.2 kB / 0.7916 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.696e-05/0.1923, allocations: 59.62 kB / 0.7916 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.1933, allocations: 0.6006 MB / 0.7922 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1933, allocations: 8 kB / 0.7922 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.1933, allocations: 4 kB / 0.7922 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1934, allocations: 0 / 0.7922 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.1951, allocations: 1.258 MB / 0.7934 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.1951, allocations: 8 kB / 0.7934 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/0.1953, allocations: 59.89 kB / 0.7935 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003926/0.1957, allocations: 144.4 kB / 0.7936 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.966e-05/0.1958, allocations: 11.94 kB / 0.7937 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003348/0.1991, allocations: 4.348 MB / 0.7979 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1991, allocations: 0 / 0.7979 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009771/0.2001, allocations: 0.708 MB / 0.7986 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/0.2003, allocations: 176.6 kB / 0.7988 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.562e-05/0.2003, allocations: 12 kB / 0.7988 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.2006, allocations: 19.97 kB / 0.7988 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.809e-05/0.2007, allocations: 39.84 kB / 0.7988 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.2007, allocations: 8 kB / 0.7988 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003466/0.201, allocations: 334.8 kB / 0.7992 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.201, allocations: 0 / 0.7992 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005761/0.2016, allocations: 140 kB / 0.7993 GB, free: 6.547 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (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.001279/0.2029, allocations: 1.258 MB / 0.8005 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001336/0.2042, allocations: 1.009 MB / 0.8015 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.2042, allocations: 4 kB / 0.8015 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008421/0.2051, allocations: 0.7229 MB / 0.8022 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008705/0.2059, allocations: 193.7 kB / 0.8024 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006168/0.2121, allocations: 5.124 MB / 0.8074 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005061/0.2126, allocations: 0.9097 MB / 0.8083 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002836/0.2129, allocations: 113.3 kB / 0.8084 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002512/0.2131, allocations: 195.4 kB / 0.8086 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of SimCode: time 5.21e-07/0.2131, allocations: 4 kB / 0.8086 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0648/0.2779, allocations: 12.79 MB / 0.8211 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.736/10.01, allocations: 10.34 kB / 0.8211 GB, free: 15.82 MB / 0.6387 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_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_Loads_Examples_TestImpedance.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.53519114300434]