Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.00141/0.00141, allocations: 109.7 kB / 17.54 MB, free: 4.641 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.001408/0.001408, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.284/1.284, allocations: 225.6 MB / 249.3 MB, free: 3.18 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.9706/0.9706, allocations: 175.7 MB / 480.1 MB, free: 2.812 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.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 71.47 kB / 0.6678 GB, free: 10.92 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1547, allocations: 94.53 MB / 0.7601 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.0079/0.1626, allocations: 6.321 MB / 0.7663 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004812/0.1674, allocations: 3.269 MB / 0.7694 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002769/0.1677, allocations: 27.81 kB / 0.7695 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002243/0.17, allocations: 0.9727 MB / 0.7704 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009717/0.1709, allocations: 493.5 kB / 0.7709 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.172, allocations: 494.5 kB / 0.7714 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001186/0.1732, allocations: 1.088 MB / 0.7724 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006934/0.1738, allocations: 466.3 kB / 0.7729 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005871/0.1744, allocations: 442.3 kB / 0.7733 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006511/0.1751, allocations: 0.4981 MB / 0.7738 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.348e-05/0.1752, allocations: 60 kB / 0.7738 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000782/0.176, allocations: 499 kB / 0.7743 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002799/0.1762, allocations: 295.1 kB / 0.7746 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003879/0.1766, allocations: 398 kB / 0.775 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001252/0.1779, allocations: 1.183 MB / 0.7761 GB, free: 308 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1779, allocations: 0 / 0.7761 GB, free: 308 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1779, allocations: 0 / 0.7761 GB, free: 308 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.1779, allocations: 0 / 0.7761 GB, free: 308 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001539/0.1794, allocations: 1.082 MB / 0.7772 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.1795, allocations: 8.031 kB / 0.7772 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001299/0.1796, allocations: 114.6 kB / 0.7773 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/0.181, allocations: 228.2 kB / 0.7775 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008019/0.1818, allocations: 0.5848 MB / 0.7781 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.149e-05/0.1819, allocations: 53.67 kB / 0.7781 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.182, allocations: 68.31 kB / 0.7782 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.1834, allocations: 1.026 MB / 0.7792 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.921e-05/0.1834, allocations: 7.938 kB / 0.7792 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.628e-05/0.1835, allocations: 31.98 kB / 0.7792 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.56e-05/0.1835, allocations: 69.27 kB / 0.7793 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.1846, allocations: 0.6918 MB / 0.78 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005084/0.1897, allocations: 5.734 MB / 0.7856 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007995/0.1905, allocations: 0.5584 MB / 0.7861 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000754/0.1912, allocations: 388.6 kB / 0.7865 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.1912, allocations: 8 kB / 0.7865 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.1913, allocations: 34.56 kB / 0.7865 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=41): time 1.413e-06/0.1913, allocations: 3.938 kB / 0.7866 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42): time 0.004078/0.1953, allocations: 2.016 MB / 0.7885 GB, free: 2.828 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.1954, allocations: 55.41 kB / 0.7886 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004547/0.1958, allocations: 462.7 kB / 0.789 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.1959, allocations: 29.7 kB / 0.789 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002631/0.1961, allocations: 400.1 kB / 0.7894 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.1963, allocations: 158.7 kB / 0.7896 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.1964, allocations: 106.3 kB / 0.7897 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.1966, allocations: 366.8 kB / 0.79 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003454/0.1969, allocations: 237.2 kB / 0.7903 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000498/0.1974, allocations: 457 kB / 0.7907 GB, free: 472 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009312/0.1984, allocations: 0.7528 MB / 0.7914 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1984, allocations: 0 / 0.7914 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001769/0.2001, allocations: 1.039 MB / 0.7924 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.2001, allocations: 11.94 kB / 0.7924 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.2002, allocations: 11.94 kB / 0.7925 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009511/0.2011, allocations: 315.6 kB / 0.7928 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002926/0.2014, allocations: 91.89 kB / 0.7928 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00724/0.2086, allocations: 7.478 MB / 0.8002 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003263/0.209, allocations: 28.03 kB / 0.8002 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.006e-05/0.209, allocations: 32 kB / 0.8002 GB, free: 6.02 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002885/0.2093, allocations: 245.5 kB / 0.8004 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.928e-05/0.2094, allocations: 63.61 kB / 0.8005 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001615/0.211, allocations: 0.8808 MB / 0.8014 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.211, allocations: 4.281 kB / 0.8014 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.211, allocations: 4 kB / 0.8014 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.211, allocations: 4 kB / 0.8014 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002495/0.2135, allocations: 1.665 MB / 0.803 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.2135, allocations: 4 kB / 0.803 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.2137, allocations: 43.91 kB / 0.803 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008582/0.2145, allocations: 307.3 kB / 0.8033 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.2146, allocations: 12 kB / 0.8034 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007132/0.2217, allocations: 7.467 MB / 0.8106 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.2217, allocations: 7.938 kB / 0.8107 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.2233, allocations: 0.9766 MB / 0.8116 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002159/0.2235, allocations: 176.7 kB / 0.8118 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.498e-05/0.2236, allocations: 8 kB / 0.8118 GB, free: 9.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/0.2238, allocations: 31.91 kB / 0.8118 GB, free: 9.379 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.628e-05/0.2239, allocations: 35.89 kB / 0.8118 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.2239, allocations: 12.28 kB / 0.8119 GB, free: 9.332 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003306/0.2243, allocations: 306.9 kB / 0.8121 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2243, allocations: 4 kB / 0.8122 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006886/0.225, allocations: 195.9 kB / 0.8123 GB, free: 8.84 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00188/0.2268, allocations: 1.538 MB / 0.8138 GB, free: 7.242 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001797/0.2286, allocations: 1.152 MB / 0.815 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2286, allocations: 0 / 0.815 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.2298, allocations: 0.8269 MB / 0.8158 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008968/0.2307, allocations: 199.9 kB / 0.816 GB, free: 4.977 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007789/0.2385, allocations: 5.843 MB / 0.8217 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006621/0.2392, allocations: 0.9958 MB / 0.8226 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002765/0.2394, allocations: 101.2 kB / 0.8227 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002695/0.2397, allocations: 227.4 kB / 0.823 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of SimCode: time 6.81e-07/0.2397, allocations: 0 / 0.823 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05074/0.2904, allocations: 15.45 MB / 0.838 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.4/9.691, allocations: 6.406 kB / 0.8381 GB, free: 14.22 MB / 0.6544 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.103189503002795]