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.00119/0.00119, allocations: 108.3 kB / 17.54 MB, free: 4.781 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.001173/0.001173, allocations: 190.6 kB / 20.71 MB, free: 1.625 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.274/1.274, allocations: 225.6 MB / 249.3 MB, free: 3.355 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.9866/0.9866, allocations: 175.7 MB / 480.1 MB, free: 2.844 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.001788/0.001788, allocations: 71.33 kB / 0.6678 GB, free: 10.92 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1541, allocations: 94.53 MB / 0.7601 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005204/0.1593, allocations: 3.847 MB / 0.7638 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002909/0.1622, allocations: 1.847 MB / 0.7656 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001647/0.1624, allocations: 15.94 kB / 0.7656 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008476/0.1632, allocations: 278.6 kB / 0.7659 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005615/0.1638, allocations: 302.5 kB / 0.7662 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005202/0.1643, allocations: 263.4 kB / 0.7665 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006546/0.165, allocations: 0.6088 MB / 0.767 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003517/0.1653, allocations: 186.6 kB / 0.7672 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003215/0.1657, allocations: 239 kB / 0.7675 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003484/0.166, allocations: 251 kB / 0.7677 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.665e-05/0.1661, allocations: 24 kB / 0.7677 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004674/0.1665, allocations: 279.4 kB / 0.768 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.1667, allocations: 123.6 kB / 0.7681 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001975/0.1669, allocations: 210.9 kB / 0.7683 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000681/0.1675, allocations: 0.5913 MB / 0.7689 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1675, allocations: 0 / 0.7689 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1675, allocations: 0 / 0.7689 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.575e-06/0.1676, allocations: 0 / 0.7689 GB, free: 7.754 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.001114/0.1687, allocations: 0.7512 MB / 0.7696 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.1687, allocations: 8.031 kB / 0.7696 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.628e-05/0.1688, allocations: 78.64 kB / 0.7697 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008236/0.1696, allocations: 144.5 kB / 0.7698 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005278/0.1701, allocations: 411.8 kB / 0.7702 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.1702, allocations: 21.03 kB / 0.7702 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.062e-05/0.1702, allocations: 36.31 kB / 0.7703 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007996/0.171, allocations: 0.547 MB / 0.7708 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.171, allocations: 4 kB / 0.7708 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.883e-05/0.1711, allocations: 15.98 kB / 0.7708 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.243e-05/0.1711, allocations: 44.47 kB / 0.7709 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007062/0.1719, allocations: 409.8 kB / 0.7713 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002899/0.1748, allocations: 3.334 MB / 0.7745 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006555/0.1754, allocations: 322.4 kB / 0.7748 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002936/0.1757, allocations: 160.8 kB / 0.775 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.1757, allocations: 4 kB / 0.775 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.1757, allocations: 30.56 kB / 0.775 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=26): time 1.233e-06/0.1758, allocations: 4 kB / 0.775 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=27): time 0.001995/0.1777, allocations: 1.063 MB / 0.7761 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.1778, allocations: 59.64 kB / 0.7761 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003287/0.1781, allocations: 341.5 kB / 0.7764 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.1781, allocations: 33.7 kB / 0.7765 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.1783, allocations: 248.1 kB / 0.7767 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.29e-05/0.1784, allocations: 107.2 kB / 0.7768 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.1785, allocations: 74.08 kB / 0.7769 GB, free: 15 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1787, allocations: 346.8 kB / 0.7772 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/0.1789, allocations: 144.8 kB / 0.7773 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003639/0.1793, allocations: 298.5 kB / 0.7776 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006612/0.18, allocations: 475.4 kB / 0.7781 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.18, allocations: 8 kB / 0.7781 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009429/0.1809, allocations: 0.5581 MB / 0.7786 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.1809, allocations: 8 kB / 0.7786 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.1809, allocations: 4 kB / 0.7787 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002928/0.1812, allocations: 90.5 kB / 0.7787 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.1816, allocations: 88.12 kB / 0.7788 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.666e-05/0.1816, allocations: 19.88 kB / 0.7788 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002396/0.1818, allocations: 27.97 kB / 0.7789 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.1818, allocations: 20 kB / 0.7789 GB, free: 12.79 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.0001831/0.182, allocations: 173.6 kB / 0.7791 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.614e-05/0.1821, allocations: 51.69 kB / 0.7791 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008796/0.183, allocations: 468 kB / 0.7795 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.183, allocations: 4 kB / 0.7796 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.183, allocations: 0 / 0.7796 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.183, allocations: 0 / 0.7796 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.1844, allocations: 0.9607 MB / 0.7805 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1844, allocations: 0 / 0.7805 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.1846, allocations: 59.83 kB / 0.7805 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002331/0.1849, allocations: 78.52 kB / 0.7806 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.1849, allocations: 8 kB / 0.7806 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.1849, allocations: 8.094 kB / 0.7806 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1849, allocations: 0 / 0.7806 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00082/0.1857, allocations: 0.548 MB / 0.7812 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.1859, allocations: 140.8 kB / 0.7813 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.532e-05/0.1859, allocations: 11.98 kB / 0.7813 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.1861, allocations: 23.92 kB / 0.7813 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/0.1862, allocations: 23.89 kB / 0.7814 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.1862, allocations: 12 kB / 0.7814 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002217/0.1864, allocations: 231.2 kB / 0.7816 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1864, allocations: 0 / 0.7816 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003901/0.1868, allocations: 92 kB / 0.7817 GB, free: 9.762 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.00114/0.188, allocations: 1.089 MB / 0.7827 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008845/0.1888, allocations: 0.6157 MB / 0.7833 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1888, allocations: 0 / 0.7833 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004653/0.1893, allocations: 421.7 kB / 0.7838 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006668/0.19, allocations: 129.9 kB / 0.7839 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004731/0.1947, allocations: 3.725 MB / 0.7875 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.1952, allocations: 0.8269 MB / 0.7883 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002271/0.1954, allocations: 83.34 kB / 0.7884 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/0.1956, allocations: 127.4 kB / 0.7885 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of SimCode: time 8.82e-07/0.1956, allocations: 0 / 0.7885 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03485/0.2304, allocations: 8.343 MB / 0.7967 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.243/9.473, allocations: 12.14 kB / 0.7967 GB, free: 10.15 MB / 0.6075 GB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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 sys.exit(0), Time elapsed: 12.876570754000568]