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.001479/0.001479, allocations: 109.2 kB / 16.4 MB, free: 6.504 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.001567/0.001567, allocations: 192.5 kB / 19.35 MB, free: 3.734 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.434/1.434, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.058/1.058, allocations: 173.4 MB / 470.7 MB, free: 13.63 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.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.00188/0.00188, allocations: 72.62 kB / 0.6478 GB, free: 11.75 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1759, allocations: 89.52 MB / 0.7353 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006696/0.1826, allocations: 4.841 MB / 0.74 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004408/0.1871, allocations: 2.452 MB / 0.7424 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000476/0.1876, allocations: 27.75 kB / 0.7424 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001241/0.1888, allocations: 405.9 kB / 0.7428 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.1899, allocations: 449.7 kB / 0.7432 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008446/0.1907, allocations: 374.4 kB / 0.7436 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001023/0.1918, allocations: 0.9095 MB / 0.7445 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005816/0.1924, allocations: 366.5 kB / 0.7448 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004349/0.1928, allocations: 330.7 kB / 0.7451 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004742/0.1933, allocations: 350.5 kB / 0.7455 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.59e-05/0.1934, allocations: 40 kB / 0.7455 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006874/0.1941, allocations: 399.1 kB / 0.7459 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001972/0.1943, allocations: 183.3 kB / 0.7461 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003071/0.1946, allocations: 314.3 kB / 0.7464 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.1956, allocations: 0.887 MB / 0.7472 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1957, allocations: 4 kB / 0.7472 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1957, allocations: 0 / 0.7472 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.819e-06/0.1957, allocations: 0 / 0.7472 GB, free: 5.93 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.001496/0.1972, allocations: 0.9649 MB / 0.7482 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.1972, allocations: 8.031 kB / 0.7482 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001058/0.1973, allocations: 90.7 kB / 0.7483 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/0.1986, allocations: 204.2 kB / 0.7485 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007739/0.1993, allocations: 0.5378 MB / 0.749 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.279e-05/0.1994, allocations: 33.36 kB / 0.749 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.194e-05/0.1995, allocations: 48.33 kB / 0.7491 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.2006, allocations: 0.8485 MB / 0.7499 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.2006, allocations: 7.938 kB / 0.7499 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.318e-05/0.2007, allocations: 23.98 kB / 0.7499 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.375e-05/0.2008, allocations: 68.95 kB / 0.75 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008806/0.2017, allocations: 0.5616 MB / 0.7505 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3308/0.5325, allocations: 5.643 MB / 0.756 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007256/0.5332, allocations: 453.8 kB / 0.7565 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003025/0.5336, allocations: 227.8 kB / 0.7567 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.5336, allocations: 8.906 kB / 0.7567 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.5336, allocations: 33.08 kB / 0.7567 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 2.274e-06/0.5336, allocations: 1.844 kB / 0.7567 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.002451/0.5361, allocations: 1.511 MB / 0.7582 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.5361, allocations: 56.72 kB / 0.7583 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004535/0.5366, allocations: 0.4941 MB / 0.7588 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.5366, allocations: 31.16 kB / 0.7588 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.5368, allocations: 368.5 kB / 0.7591 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.888e-05/0.5369, allocations: 119.6 kB / 0.7592 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.537, allocations: 117.2 kB / 0.7594 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.954e-05/0.5371, allocations: 364.7 kB / 0.7597 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.5374, allocations: 197.3 kB / 0.7599 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003377/0.5377, allocations: 449.8 kB / 0.7603 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006375/0.5383, allocations: 0.6859 MB / 0.761 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.5384, allocations: 5.406 kB / 0.761 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001151/0.5395, allocations: 0.8052 MB / 0.7618 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.5395, allocations: 11.98 kB / 0.7618 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.5396, allocations: 8.969 kB / 0.7618 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004628/0.54, allocations: 162.1 kB / 0.762 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004402/0.5405, allocations: 122.6 kB / 0.7621 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002386/0.5429, allocations: 4.342 MB / 0.7663 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004222/0.5433, allocations: 32.61 kB / 0.7663 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.5434, allocations: 31.58 kB / 0.7664 GB, free: 8.125 MB / 0.5762 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.0002206/0.5436, allocations: 221.9 kB / 0.7666 GB, free: 8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.268e-05/0.5437, allocations: 61.3 kB / 0.7666 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000894/0.5446, allocations: 0.6021 MB / 0.7672 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.5446, allocations: 4.047 kB / 0.7672 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.5446, allocations: 6.219 kB / 0.7672 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.5446, allocations: 1.969 kB / 0.7672 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.5461, allocations: 1.262 MB / 0.7685 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.5461, allocations: 4.422 kB / 0.7685 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002348/0.5464, allocations: 55.17 kB / 0.7685 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003446/0.5467, allocations: 146.3 kB / 0.7687 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/0.5467, allocations: 13.22 kB / 0.7687 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00204/0.5488, allocations: 4.332 MB / 0.7729 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.5488, allocations: 3.281 kB / 0.7729 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008246/0.5496, allocations: 0.7051 MB / 0.7736 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.5498, allocations: 169.8 kB / 0.7738 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.186e-05/0.5499, allocations: 22.98 kB / 0.7738 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.5501, allocations: 20.72 kB / 0.7738 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.362e-05/0.5502, allocations: 39.62 kB / 0.7739 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.5502, allocations: 11.69 kB / 0.7739 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003067/0.5506, allocations: 331.8 kB / 0.7742 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5506, allocations: 0 / 0.7742 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006021/0.5512, allocations: 141.9 kB / 0.7743 GB, free: 2.805 MB / 0.5762 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.0009835/0.5522, allocations: 1.263 MB / 0.7755 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001305/0.5535, allocations: 1.04 MB / 0.7766 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.5535, allocations: 0 / 0.7766 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007242/0.5542, allocations: 0.7353 MB / 0.7773 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009913/0.5552, allocations: 204.5 kB / 0.7775 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006222/0.5615, allocations: 5.112 MB / 0.7825 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005747/0.5621, allocations: 0.9094 MB / 0.7834 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003651/0.5624, allocations: 118.1 kB / 0.7835 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/0.5626, allocations: 195.8 kB / 0.7837 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of SimCode: time 8.02e-07/0.5626, allocations: 0 / 0.7837 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05047/0.6131, allocations: 12.69 MB / 0.796 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/11.14, allocations: 16.83 kB / 0.7961 GB, free: 10.86 MB / 0.5919 GB " [Timeout remaining time 649] (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: 14.973400762071833] Failed to read output from testmodel.py, exit status != 0: 11.230858785798773 11.256575629 11.056468129 Calling exit ...