Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.001239/0.001239, allocations: 114.7 kB / 17.6 MB, free: 4.668 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.00122/0.00122, allocations: 189.9 kB / 20.78 MB, free: 1.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.44/1.44, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.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.05/1.05, allocations: 175.7 MB / 480.2 MB, free: 3.16 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.VariableImpedance,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 64.45 kB / 0.6679 GB, free: 10.94 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1851, allocations: 94.54 MB / 0.7602 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005414/0.1905, allocations: 3.845 MB / 0.764 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003029/0.1936, allocations: 1.847 MB / 0.7658 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001725/0.1937, allocations: 15.88 kB / 0.7658 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008485/0.1946, allocations: 270.7 kB / 0.766 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006108/0.1952, allocations: 310.5 kB / 0.7663 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005335/0.1957, allocations: 259.4 kB / 0.7666 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006565/0.1964, allocations: 0.6049 MB / 0.7672 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003577/0.1967, allocations: 186.6 kB / 0.7674 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003393/0.1971, allocations: 247 kB / 0.7676 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003404/0.1974, allocations: 243 kB / 0.7678 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.1975, allocations: 24 kB / 0.7678 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004614/0.1979, allocations: 287.4 kB / 0.7681 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.1981, allocations: 119.6 kB / 0.7682 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002041/0.1983, allocations: 210.8 kB / 0.7684 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007181/0.199, allocations: 0.5875 MB / 0.769 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.199, allocations: 0 / 0.769 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.072e-06/0.199, allocations: 3.938 kB / 0.769 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.199, allocations: 4 kB / 0.769 GB, free: 7.719 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001128/0.2001, allocations: 0.7473 MB / 0.7697 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.2002, allocations: 8.031 kB / 0.7698 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.482e-05/0.2002, allocations: 74.66 kB / 0.7698 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008485/0.2011, allocations: 144.5 kB / 0.77 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005347/0.2016, allocations: 407.8 kB / 0.7704 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.2016, allocations: 21.03 kB / 0.7704 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.862e-05/0.2017, allocations: 36.31 kB / 0.7704 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008084/0.2025, allocations: 0.5587 MB / 0.771 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.2025, allocations: 3.938 kB / 0.771 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.318e-05/0.2026, allocations: 12 kB / 0.771 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.389e-05/0.2026, allocations: 44.53 kB / 0.771 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007187/0.2033, allocations: 405.8 kB / 0.7714 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002961/0.2063, allocations: 3.334 MB / 0.7747 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006794/0.207, allocations: 322.4 kB / 0.775 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002985/0.2073, allocations: 160.8 kB / 0.7751 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.2073, allocations: 0 / 0.7751 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.2073, allocations: 38.56 kB / 0.7752 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=26): time 1.182e-06/0.2073, allocations: 0 / 0.7752 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of matching and sorting (n=27): time 0.002081/0.2094, allocations: 1.064 MB / 0.7762 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.2094, allocations: 55.64 kB / 0.7762 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003551/0.2098, allocations: 345.6 kB / 0.7766 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.2098, allocations: 29.7 kB / 0.7766 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.21, allocations: 248.1 kB / 0.7768 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.523e-05/0.2101, allocations: 103.2 kB / 0.7769 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.2102, allocations: 74.08 kB / 0.777 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.2104, allocations: 350.8 kB / 0.7773 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/0.2106, allocations: 152.8 kB / 0.7775 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003904/0.211, allocations: 290.5 kB / 0.7778 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006938/0.2117, allocations: 483.4 kB / 0.7782 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2117, allocations: 0 / 0.7782 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009933/0.2127, allocations: 0.5658 MB / 0.7788 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.2127, allocations: 4 kB / 0.7788 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.2128, allocations: 11.98 kB / 0.7788 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003062/0.2131, allocations: 82.97 kB / 0.7789 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/0.2134, allocations: 99.81 kB / 0.779 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.2134, allocations: 7.938 kB / 0.779 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/0.2137, allocations: 31.91 kB / 0.779 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/0.2137, allocations: 16 kB / 0.779 GB, free: 12.75 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001944/0.2139, allocations: 185.6 kB / 0.7792 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.358e-05/0.214, allocations: 43.72 kB / 0.7792 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009147/0.2149, allocations: 464 kB / 0.7797 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.2149, allocations: 4 kB / 0.7797 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2149, allocations: 0 / 0.7797 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2149, allocations: 0 / 0.7797 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.2164, allocations: 0.9615 MB / 0.7806 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2164, allocations: 0 / 0.7806 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/0.2166, allocations: 59.83 kB / 0.7807 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002383/0.2168, allocations: 78.61 kB / 0.7808 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.2169, allocations: 8 kB / 0.7808 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.2169, allocations: 4 kB / 0.7808 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2169, allocations: 0 / 0.7808 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008461/0.2177, allocations: 0.5552 MB / 0.7813 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.2179, allocations: 140.8 kB / 0.7814 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.379e-05/0.2179, allocations: 4 kB / 0.7814 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.2181, allocations: 27.91 kB / 0.7815 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.685e-05/0.2182, allocations: 27.91 kB / 0.7815 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.2182, allocations: 4 kB / 0.7815 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002562/0.2185, allocations: 235.2 kB / 0.7817 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2185, allocations: 4 kB / 0.7817 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004194/0.2189, allocations: 84 kB / 0.7818 GB, free: 9.734 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001173/0.2201, allocations: 1.089 MB / 0.7829 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009212/0.221, allocations: 0.6153 MB / 0.7835 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.221, allocations: 0 / 0.7835 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004767/0.2215, allocations: 425.6 kB / 0.7839 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006708/0.2221, allocations: 128.3 kB / 0.784 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005175/0.2273, allocations: 3.736 MB / 0.7877 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005605/0.2279, allocations: 0.8269 MB / 0.7885 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002621/0.2281, allocations: 75.36 kB / 0.7885 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.2283, allocations: 135.3 kB / 0.7887 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of SimCode: time 5.51e-07/0.2283, allocations: 0 / 0.7887 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03432/0.2627, allocations: 8.352 MB / 0.7968 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/10.64, allocations: 0 / 0.7968 GB, free: 10.11 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_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_VariableImpedance.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.397077901987359] Failed to read output from testmodel.py, exit status != 0: 10.722871550009586 10.738687439 10.536693071 Calling exit ...