Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.002086/0.002085, allocations: 98.62 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.0023/0.0023, allocations: 187.7 kB / 19.35 MB, free: 3.73 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.474/1.474, allocations: 222.9 MB / 245.1 MB, free: 4.34 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.283/1.283, allocations: 173.4 MB / 470.7 MB, free: 6.703 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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 63.02 kB / 0.6478 GB, free: 23.03 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1893, allocations: 89.53 MB / 0.7353 GB, free: 4.207 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.0103/0.1997, allocations: 4.885 MB / 0.74 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006559/0.2063, allocations: 2.49 MB / 0.7425 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006752/0.207, allocations: 23.81 kB / 0.7425 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001752/0.2088, allocations: 393.9 kB / 0.7429 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001729/0.2105, allocations: 441.6 kB / 0.7433 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.2121, allocations: 409.5 kB / 0.7437 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00163/0.2137, allocations: 0.9251 MB / 0.7446 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007702/0.2145, allocations: 358.5 kB / 0.7449 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006842/0.2152, allocations: 338.6 kB / 0.7452 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007284/0.2159, allocations: 354.4 kB / 0.7456 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.2161, allocations: 40 kB / 0.7456 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.2171, allocations: 399.1 kB / 0.746 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002754/0.2174, allocations: 179.4 kB / 0.7462 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005016/0.2179, allocations: 330.2 kB / 0.7465 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001721/0.2196, allocations: 0.8831 MB / 0.7473 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2196, allocations: 0 / 0.7473 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.961e-06/0.2197, allocations: 0 / 0.7473 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.487e-05/0.2197, allocations: 3.938 kB / 0.7474 GB, free: 7.77 MB / 0.5606 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.002164/0.2218, allocations: 0.9688 MB / 0.7483 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/0.2219, allocations: 15.97 kB / 0.7483 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001574/0.2221, allocations: 86.7 kB / 0.7484 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002186/0.2243, allocations: 208.2 kB / 0.7486 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.2256, allocations: 0.5611 MB / 0.7491 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.083e-05/0.2257, allocations: 37.36 kB / 0.7492 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.2258, allocations: 40.38 kB / 0.7492 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.2276, allocations: 0.8483 MB / 0.75 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.041e-05/0.2276, allocations: 11.89 kB / 0.7501 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.152e-05/0.2277, allocations: 23.98 kB / 0.7501 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001491/0.2279, allocations: 64.95 kB / 0.7501 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/0.2293, allocations: 0.5734 MB / 0.7507 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005358/0.2347, allocations: 5.651 MB / 0.7562 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006809/0.2354, allocations: 457.5 kB / 0.7567 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003451/0.2358, allocations: 229.3 kB / 0.7569 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/0.2358, allocations: 7.984 kB / 0.7569 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.2358, allocations: 34.5 kB / 0.7569 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 1.914e-06/0.2359, allocations: 0 / 0.7569 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.003019/0.2389, allocations: 1.514 MB / 0.7584 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.2389, allocations: 59.62 kB / 0.7585 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005879/0.2395, allocations: 0.4991 MB / 0.7589 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.2396, allocations: 33.7 kB / 0.759 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002966/0.2399, allocations: 367.7 kB / 0.7593 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.24, allocations: 126.9 kB / 0.7594 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.2402, allocations: 110.2 kB / 0.7595 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001954/0.2404, allocations: 370.8 kB / 0.7599 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003042/0.2407, allocations: 193.2 kB / 0.7601 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005274/0.2412, allocations: 447.3 kB / 0.7605 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000949/0.2422, allocations: 0.6954 MB / 0.7612 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.2422, allocations: 0 / 0.7612 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001406/0.2436, allocations: 0.8133 MB / 0.762 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.2436, allocations: 8 kB / 0.762 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.2437, allocations: 8 kB / 0.762 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005117/0.2442, allocations: 164.6 kB / 0.7622 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004615/0.2446, allocations: 123.7 kB / 0.7623 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003891/0.2485, allocations: 4.342 MB / 0.7665 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00044/0.249, allocations: 35.97 kB / 0.7666 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.37e-05/0.2491, allocations: 28 kB / 0.7666 GB, free: 2.578 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.0003002/0.2494, allocations: 223.2 kB / 0.7668 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.69e-05/0.2495, allocations: 59.62 kB / 0.7668 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/0.2506, allocations: 0.5931 MB / 0.7674 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.2506, allocations: 8 kB / 0.7674 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.2506, allocations: 0 / 0.7674 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.2507, allocations: 3.938 kB / 0.7674 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001929/0.2526, allocations: 1.27 MB / 0.7687 GB, free: 304 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.2526, allocations: 4 kB / 0.7687 GB, free: 300 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002775/0.2529, allocations: 59.89 kB / 0.7687 GB, free: 240 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000431/0.2533, allocations: 144.3 kB / 0.7689 GB, free: 80 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.835e-05/0.2534, allocations: 11.94 kB / 0.7689 GB, free: 68 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004083/0.2575, allocations: 4.34 MB / 0.7731 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.2575, allocations: 4.031 kB / 0.7731 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.2586, allocations: 0.7087 MB / 0.7738 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002265/0.2588, allocations: 168.6 kB / 0.774 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.099e-05/0.2589, allocations: 15.98 kB / 0.774 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/0.2592, allocations: 23.97 kB / 0.774 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.357e-05/0.2593, allocations: 31.84 kB / 0.7741 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/0.2593, allocations: 12 kB / 0.7741 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004474/0.2597, allocations: 338.8 kB / 0.7744 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2598, allocations: 0 / 0.7744 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007819/0.2605, allocations: 140 kB / 0.7745 GB, free: 9.812 MB / 0.5919 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.00157/0.2621, allocations: 1.273 MB / 0.7758 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001842/0.264, allocations: 1.041 MB / 0.7768 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.264, allocations: 4 kB / 0.7768 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009741/0.265, allocations: 0.7346 MB / 0.7775 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.2662, allocations: 208.1 kB / 0.7777 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007483/0.2737, allocations: 5.164 MB / 0.7827 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006544/0.2744, allocations: 0.9098 MB / 0.7836 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003863/0.2748, allocations: 117.3 kB / 0.7837 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002759/0.2751, allocations: 191.4 kB / 0.7839 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of SimCode: time 1.052e-06/0.2751, allocations: 0 / 0.7839 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06401/0.3391, allocations: 12.84 MB / 0.7965 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.09, allocations: 8.562 kB / 0.7965 GB, free: 2.949 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.152492739725858] Failed to read output from testmodel.py, exit status != 0: 11.179616319946945 11.203608172 10.979101013 Calling exit ...