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.001146/0.001146, allocations: 105.7 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.001162/0.001162, allocations: 185.9 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.29/1.29, allocations: 225.6 MB / 249.3 MB, free: 3.336 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.9819/0.9819, allocations: 175.7 MB / 480.1 MB, free: 2.816 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.001746/0.001746, allocations: 68.02 kB / 0.6678 GB, free: 11.03 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1572, allocations: 94.53 MB / 0.7601 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006181/0.1634, allocations: 4.975 MB / 0.7649 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003721/0.1671, allocations: 2.541 MB / 0.7674 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002687/0.1674, allocations: 23.81 kB / 0.7674 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.1684, allocations: 413.7 kB / 0.7678 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009089/0.1693, allocations: 473.6 kB / 0.7683 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007947/0.1701, allocations: 375.2 kB / 0.7686 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001074/0.1712, allocations: 0.9134 MB / 0.7695 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000418/0.1716, allocations: 266.5 kB / 0.7698 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004189/0.172, allocations: 342.7 kB / 0.7701 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004606/0.1725, allocations: 370.4 kB / 0.7705 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.791e-05/0.1726, allocations: 40 kB / 0.7705 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006573/0.1732, allocations: 411 kB / 0.7709 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001838/0.1734, allocations: 183.4 kB / 0.7711 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003002/0.1737, allocations: 322.2 kB / 0.7714 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009436/0.1747, allocations: 0.883 MB / 0.7722 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.738e-06/0.1747, allocations: 0 / 0.7722 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1747, allocations: 4 kB / 0.7722 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.1747, allocations: 4 kB / 0.7722 GB, free: 4.324 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.001292/0.176, allocations: 0.9493 MB / 0.7732 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.176, allocations: 12.03 kB / 0.7732 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.82e-05/0.1761, allocations: 102.7 kB / 0.7733 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.1772, allocations: 200.3 kB / 0.7735 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007096/0.178, allocations: 0.5378 MB / 0.774 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.084e-05/0.178, allocations: 33.36 kB / 0.774 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-05/0.1781, allocations: 48.31 kB / 0.7741 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.1791, allocations: 0.8485 MB / 0.7749 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.1791, allocations: 7.938 kB / 0.7749 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.615e-05/0.1792, allocations: 20 kB / 0.7749 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.567e-05/0.1793, allocations: 68.95 kB / 0.775 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007914/0.18, allocations: 0.5656 MB / 0.7756 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004397/0.1844, allocations: 5.651 MB / 0.7811 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006005/0.185, allocations: 430.2 kB / 0.7815 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002853/0.1853, allocations: 204.6 kB / 0.7817 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.1853, allocations: 4.531 kB / 0.7817 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.1854, allocations: 38.56 kB / 0.7817 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 1.403e-06/0.1854, allocations: 0 / 0.7817 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002465/0.1878, allocations: 1.514 MB / 0.7832 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.1879, allocations: 51.69 kB / 0.7832 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004929/0.1884, allocations: 0.495 MB / 0.7837 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.1884, allocations: 29.7 kB / 0.7838 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/0.1886, allocations: 359.8 kB / 0.7841 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.234e-05/0.1887, allocations: 119 kB / 0.7842 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.1889, allocations: 118.2 kB / 0.7843 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.1891, allocations: 366.8 kB / 0.7847 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/0.1893, allocations: 197.2 kB / 0.7849 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004626/0.1898, allocations: 439.3 kB / 0.7853 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000818/0.1906, allocations: 0.6994 MB / 0.786 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1906, allocations: 0 / 0.786 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001226/0.1918, allocations: 0.8092 MB / 0.7868 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1919, allocations: 8 kB / 0.7868 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.1919, allocations: 8 kB / 0.7868 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004657/0.1923, allocations: 160.8 kB / 0.7869 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004183/0.1928, allocations: 127.8 kB / 0.787 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003421/0.1962, allocations: 4.341 MB / 0.7913 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/0.1965, allocations: 31.97 kB / 0.7913 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.1965, allocations: 32.16 kB / 0.7913 GB, free: 15.26 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.0002383/0.1968, allocations: 219.1 kB / 0.7916 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.775e-05/0.1969, allocations: 63.62 kB / 0.7916 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/0.1979, allocations: 0.5968 MB / 0.7922 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1979, allocations: 0 / 0.7922 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-06/0.1979, allocations: 4 kB / 0.7922 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1979, allocations: 0 / 0.7922 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.1996, allocations: 1.274 MB / 0.7934 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1996, allocations: 0 / 0.7934 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002447/0.1999, allocations: 51.95 kB / 0.7935 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003863/0.2003, allocations: 144.3 kB / 0.7936 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.2003, allocations: 15.92 kB / 0.7937 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003268/0.2035, allocations: 4.344 MB / 0.7979 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.2035, allocations: 3.938 kB / 0.7979 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009553/0.2045, allocations: 0.7119 MB / 0.7986 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001919/0.2047, allocations: 172.6 kB / 0.7988 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.437e-05/0.2047, allocations: 12 kB / 0.7988 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.205, allocations: 19.97 kB / 0.7988 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.311e-05/0.2051, allocations: 35.89 kB / 0.7988 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.2051, allocations: 12 kB / 0.7988 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000331/0.2054, allocations: 326.9 kB / 0.7991 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.2054, allocations: 4 kB / 0.7991 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005825/0.206, allocations: 144 kB / 0.7993 GB, free: 6.496 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.001263/0.2073, allocations: 1.26 MB / 0.8005 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001339/0.2086, allocations: 1.013 MB / 0.8015 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2086, allocations: 0 / 0.8015 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008184/0.2094, allocations: 0.719 MB / 0.8022 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008867/0.2103, allocations: 209.2 kB / 0.8024 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005986/0.2163, allocations: 5.12 MB / 0.8074 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005127/0.2168, allocations: 0.9019 MB / 0.8083 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002759/0.2171, allocations: 117.3 kB / 0.8084 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002457/0.2173, allocations: 199.4 kB / 0.8086 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of SimCode: time 5.01e-07/0.2173, allocations: 0 / 0.8086 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04306/0.2604, allocations: 12.79 MB / 0.8211 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.514/9.775, allocations: 3.938 kB / 0.8211 GB, free: 15.77 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.176621934006107]